IOperationDataStream.GetNextAsync(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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET