Edit

Share via


ParseResult.Invoke(InvocationConfiguration) Method

Definition

Invokes the appropriate command handler for a parsed command line input.

public int Invoke(System.CommandLine.InvocationConfiguration? configuration = default);
member this.Invoke : System.CommandLine.InvocationConfiguration -> int
Public Function Invoke (Optional configuration As InvocationConfiguration = Nothing) As Integer

Parameters

configuration
InvocationConfiguration

The configuration used to define invocation behaviors.

Returns

A value that can be used as a process exit code.

Applies to