IOperationStream.GetOperationAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.