Edit

Share via


InvocationContext.InvocationResult Property

Definition

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