IProcessService

Name Value
Assembly Catel.Core
Namespace Catel.Services
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public interface IProcessService

Interface for the Process service.

Methods

StartProcess(string fileName, string arguments, ProcessCompletedDelegate processCompletedCallback)

Starts a process resource by specifying the name of an application and a set of command-line arguments.

Parameters

Name Description
fileName The name of an application file to run in the process.
arguments Command-line arguments to pass when starting the process.
processCompletedCallback The process completed callback, invoked only when the process is started successfully and completed.

Exceptions

Name Description
ArgumentException The fileName isnull or whitespace.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion