Sdílet prostřednictvím


IResourceManagementClient.GetLongRunningOperationStatusAsync Method

Definition

The Get Operation Status operation returns the status of the specified operation. After calling an asynchronous operation, you can call Get Operation Status to determine whether the operation has succeeded, failed, or is still in progress.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse> GetLongRunningOperationStatusAsync (string operationStatusLink, System.Threading.CancellationToken cancellationToken);
abstract member GetLongRunningOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse>
Public Function GetLongRunningOperationStatusAsync (operationStatusLink As String, cancellationToken As CancellationToken) As Task(Of LongRunningOperationResponse)

Parameters

operationStatusLink
String

Location value returned by the Begin operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response for long running operations.

Applies to