AsynchronousCommandLineAction.InvokeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public abstract System.Threading.Tasks.Task<int> InvokeAsync(System.CommandLine.ParseResult parseResult, System.Threading.CancellationToken cancellationToken = default);
abstract member InvokeAsync : System.CommandLine.ParseResult * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public MustOverride Function InvokeAsync (parseResult As ParseResult, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
- parseResult
- ParseResult
- cancellationToken
- CancellationToken