Edit

Bagikan melalui


IValueTaskSource<TResult>.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

A value that indicates the status of the current operation.

Applies to