StartAsync(ProcessConfiguration, CancellationToken) Method

Definition

Assembly CliInvoke.Core.dll

Starts the external process asynchronously using the specified configuration.

Task StartAsync(ProcessConfiguration configuration, CancellationToken cancellationToken)

Parameters

configuration
ProcessConfiguration

The configuration settings for starting the external process.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

Task
A task representing the asynchronous operation. The result contains the buffered process result when the method completes.