共用方式為


IAutomationManagementClient.GetOperationResultStatusAsync 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.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse> GetOperationResultStatusAsync (string operationStatusLink, System.Threading.CancellationToken cancellationToken);
abstract member GetOperationResultStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.LongRunningOperationResultResponse>
Public Function GetOperationResultStatusAsync (operationStatusLink As String, cancellationToken As CancellationToken) As Task(Of LongRunningOperationResultResponse)

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