Activity<TResult>.Result 属性

定义

获取或设置 Activity<TResult> 的结果参数。Gets or sets the result argument for the Activity<TResult>.

public:
 property System::Activities::OutArgument<TResult> ^ Result { System::Activities::OutArgument<TResult> ^ get(); void set(System::Activities::OutArgument<TResult> ^ value); };
public System.Activities.OutArgument<TResult> Result { get; set; }
member this.Result : System.Activities.OutArgument<'Result> with get, set
Public Property Result As OutArgument(Of TResult)

属性值

OutArgument<TResult>

Activity<TResult> 的结果自变量。The result argument for the Activity<TResult>.

注解

此属性在运行时为只读。This property is read-only at runtime. 如果在运行时设置值,则会引发 InvalidOperationExceptionIf the value is set at runtime, an InvalidOperationException is thrown.

适用于