ManualResetValueTaskSourceCore<TResult>.GetResult(Int16) 方法

定义

返回操作的结果。Returns the result of the operation.

public:
 TResult GetResult(short token);
public TResult GetResult (short token);
member this.GetResult : int16 -> 'Result
Public Function GetResult (token As Short) As TResult

参数

token
Int16

一个曾提供给 ValueTask 构造函数的不透明值。An opaque value that was provided to the ValueTask constructor.

返回

TResult

操作的结果。The result of the operation.

适用于