CommandLineConfiguration.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.
Overloads
InvokeAsync(String, CancellationToken)
- Source:
- CommandLineConfiguration.cs
public System.Threading.Tasks.Task<int> InvokeAsync(string commandLine, System.Threading.CancellationToken cancellationToken = default);
member this.InvokeAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function InvokeAsync (commandLine As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
- commandLine
- String
- cancellationToken
- CancellationToken
Returns
Applies to
InvokeAsync(String[], CancellationToken)
- Source:
- CommandLineConfiguration.cs
public System.Threading.Tasks.Task<int> InvokeAsync(string[] args, System.Threading.CancellationToken cancellationToken = default);
member this.InvokeAsync : string[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function InvokeAsync (args As String(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Integer)
Parameters
- args
- String[]
- cancellationToken
- CancellationToken