ParentCommandRunAsync Method

Runs the child command that was instantiated by the Parse(ReadOnlyMemoryString, CommandManager) method asynchronously.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public virtual Task<int> RunAsync()

Return Value

TaskInt32
A task that represents the asynchronous run operation. The result of the task is the exit code of the child command, or the value of the FailureExitCode property if no child command was created.

Implements

IAsyncCommandRunAsync

See Also