StartAsync(CancellationToken) Method

Definition

Assembly CliInvoke.dll

Asynchronously starts the external process using the specified configuration.

[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("browser")]
public Task StartAsync(CancellationToken cancellationToken)

Parameters

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.

Remarks

Configuration is not mutated; the resolved file path is returned via the result. ExecutedFilePath.