SynchronousCommandLineAction.Invoke(ParseResult) 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.
Performs an action when the associated symbol is invoked on the command line.
public:
abstract int Invoke(System::CommandLine::ParseResult ^ parseResult);
public abstract int Invoke(System.CommandLine.ParseResult parseResult);
abstract member Invoke : System.CommandLine.ParseResult -> int
Public MustOverride Function Invoke (parseResult As ParseResult) As Integer
Parameters
- parseResult
- ParseResult
Provides the parse results.
Returns
A value that can be used as the exit code for the process.