ParseErrorAction Class

Definition

Provides command line output with error details in the case of a parsing error.

public ref class ParseErrorAction sealed : System::CommandLine::Invocation::SynchronousCommandLineAction
public sealed class ParseErrorAction : System.CommandLine.Invocation.SynchronousCommandLineAction
type ParseErrorAction = class
    inherit SynchronousCommandLineAction
Public NotInheritable Class ParseErrorAction
Inherits SynchronousCommandLineAction
Inheritance

Constructors

ParseErrorAction()

Properties

ClearsParseErrors

Indicates that the action clears any parse errors associated with symbols other than one that owns the CommandLineAction.

(Inherited from CommandLineAction)
ShowHelp

Indicates whether to show help along with error details when an error is found during parsing.

ShowTypoCorrections

Indicates whether to show typo suggestions along with error details when an error is found during parsing.

Terminating

Indicates that the action terminates a command line invocation, and later actions are skipped.

(Inherited from CommandLineAction)

Methods

Invoke(ParseResult)

Performs an action when the associated symbol is invoked on the command line.

Applies to