Note

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

Access to this page requires authorization. You can try .

InvocationConfiguration.Error Property

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.

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

public:
 property System::IO::TextWriter ^ Error { System::IO::TextWriter ^ get(); void set(System::IO::TextWriter ^ value); };
public System.IO.TextWriter Error { get; set; }
member this.Error : System.IO.TextWriter with get, set
Public Property Error As TextWriter

Property Value

The default is set to Error.

Remarks

For testing purposes, it can be set to a new instance of StringWriter.

Applies to


Feedback

Was this page helpful?