共用方式為


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
String

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

operationId
String

The operation id which uniquely identifies the asynchronous operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to