다음을 통해 공유


IOperationDataStream.GetNextAsync(CancellationToken) Method

Definition

Gets the next OperationData object from the IOperationDataStream.

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

Parameters

cancellationToken
CancellationToken

Provides a mechanism to cancel the asynchronous operation.

Returns

Returns Task<TResult> of type OperationData.

Remarks

Returning null indicates to the system that the transfer is complete.

Applies to