AscOperationsExtensions.GetAsync Method

Definition

Gets the status of an asynchronous operation for the Azure HPC Cache

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageCache.Models.AscOperation> GetAsync (this Microsoft.Azure.Management.StorageCache.IAscOperations operations, string location, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.StorageCache.IAscOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageCache.Models.AscOperation>
<Extension()>
Public Function GetAsync (operations As IAscOperations, location As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AscOperation)

Parameters

operations
IAscOperations

The operations group for this extension method.

location
System.String

The name of the region used to look up the operation.

operationId
System.String

The operation id which uniquely identifies the asynchronous operation.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<AscOperation>

Applies to