다음을 통해 공유


IOperationStream.GetOperationAsync(CancellationToken) Method

Definition

Gets the next object that implements IOperation from the underlying IOperationStream.

public System.Threading.Tasks.Task<System.Fabric.IOperation> GetOperationAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetOperationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.IOperation>
Public Function GetOperationAsync (cancellationToken As CancellationToken) As Task(Of IOperation)

Parameters

cancellationToken
CancellationToken

The CancellationToken object that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation might still be completed even if it is canceled.

Returns

Returns Task<TResult> of type IOperation.

Applies to