ParseResultFromException Method
Creates a
ParseResult instance that represents a parsing error.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public static ParseResult FromException(
CommandLineArgumentException exception,
ReadOnlyMemory<string> remainingArguments
)
Public Shared Function FromException (
exception As CommandLineArgumentException,
remainingArguments As ReadOnlyMemory(Of String)
) As ParseResult
Dim exception As CommandLineArgumentException
Dim remainingArguments As ReadOnlyMemory(Of String)
Dim returnValue As ParseResult
returnValue = ParseResult.FromException(exception,
remainingArguments)
public:
static ParseResult FromException(
CommandLineArgumentException^ exception,
ReadOnlyMemory<String^> remainingArguments
)
- exception CommandLineArgumentException
- The exception that occurred during parsing.
- remainingArguments ReadOnlyMemoryString
- Any remaining arguments that were not parsed.
ParseResultAn instance of the
ParseResult structure.