AutomationManagementClient.GetOperationResultStatusAsync Method (String, CancellationToken)
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.
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Public Function GetOperationResultStatusAsync ( operationStatusLink As String, cancellationToken As CancellationToken ) As Task(Of LongRunningOperationResultResponse)
Parameters
- operationStatusLink
-
Type:
System.String
Required. Location value returned by the Begin operation.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of LongRunningOperationResultResponse)A standard service response for long running operations.
Show: