編輯

共用方式為


IValueTaskSource.GetStatus(Int16) Method

Definition

Gets the status of the current operation.

public:
 System::Threading::Tasks::Sources::ValueTaskSourceStatus GetStatus(short token);
public System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus (short token);
abstract member GetStatus : int16 -> System.Threading.Tasks.Sources.ValueTaskSourceStatus
Public Function GetStatus (token As Short) As ValueTaskSourceStatus

Parameters

token
Int16

Opaque value that was provided to the ValueTask's constructor.

Returns

The status of the current operation.

Applies to