IAutomationManagementClient.GetOperationResultStatusAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET