Udostępnij za pośrednictwem


ResourceManagementClient.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>
override this.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

Required. Location value returned by the Begin operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

A standard service response for long running operations.

Implements

Applies to