Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

InvocationConfiguration Class

Definition

Namespace:
System.CommandLine
Assembly:
System.CommandLine.dll
Package:
System.CommandLine v3.0.0-preview.5.26302.115
Source:
InvocationConfiguration.cs
Source:
InvocationConfiguration.cs

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.

public ref class InvocationConfiguration
public class InvocationConfiguration
type InvocationConfiguration = class
Public Class InvocationConfiguration
Inheritance
InvocationConfiguration

Constructors

Name Description
InvocationConfiguration()

Properties

Name Description
EnableDefaultExceptionHandler

Gets or sets a value that indicates whether a default exception handler catches any unhandled exceptions thrown during invocation.

Error

Gets or sets the standard error used for printing error information like parse errors.

Output

Gets or sets the standard output.

ProcessTerminationTimeout

Gets or sets a time span that enables signaling and handling of process termination (Ctrl+C, SIGINT, SIGTERM) via a CancellationToken that can be passed to a CommandLineAction during invocation.

Applies to


Feedback

Was this page helpful?