InvocationContext Class
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.
Supports command invocation by providing access to parse results and other services.
public ref class InvocationContext sealed
public sealed class InvocationContext
type InvocationContext = class
Public NotInheritable Class InvocationContext
- Inheritance
-
InvocationContext
Binding |
The binding context for the current invocation. |
Console |
The console to which output should be written during the current invocation. |
Exit |
A value that can be used to set the exit code for the process. |
Help |
Enables writing help output. |
Invocation |
The result of the current invocation. |
Localization |
Provides localizable strings for help and error messages. |
Parser |
The parser used to create the ParseResult. |
Parse |
The parse result for the current invocation. |
Get |
Gets token to implement cancellation handling. |
Produit | Versions |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :