InvocationContext.InvocationResult 属性

定义

当前调用的结果。

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

属性值

注解

InvocationContext当 通过调用管道传递到ICommandHandler与调用的命令关联的 时,将仅应用此属性的最后一个值。

适用于