InvocationContext.InvocationResult Property
Definition
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.
The result of the current invocation.
public:
property System::CommandLine::Invocation::IInvocationResult ^ InvocationResult { System::CommandLine::Invocation::IInvocationResult ^ get(); void set(System::CommandLine::Invocation::IInvocationResult ^ value); };
public System.CommandLine.Invocation.IInvocationResult? InvocationResult { get; set; }
member this.InvocationResult : System.CommandLine.Invocation.IInvocationResult with get, set
Public Property InvocationResult As IInvocationResult
Property Value
Remarks
As the InvocationContext is passed through the invocation pipeline to the ICommandHandler associated with the invoked command, only the last value of this property will be the one applied.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.