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>

Parameters

cancellationToken
System.Threading.CancellationToken

The System.Threading.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

System.Threading.Tasks.Task<IOperation>

Returns System.Threading.Tasks.Task`1 of type IOperation.

Applies to