AutomationManagementClient.GetOperationResultStatusAsync Method
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.
Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Usage
'Usage
Dim instance As AutomationManagementClient
Dim operationStatusLink As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of LongRunningOperationResultResponse)
returnValue = instance.GetOperationResultStatusAsync(operationStatusLink, cancellationToken)
Syntax
'Declaration
<DebuggerStepThroughAttribute> _
Public Function GetOperationResultStatusAsync ( _
operationStatusLink As String, _
cancellationToken As CancellationToken _
) As Task(Of LongRunningOperationResultResponse)
[DebuggerStepThroughAttribute]
public Task<LongRunningOperationResultResponse> GetOperationResultStatusAsync (
string operationStatusLink,
CancellationToken cancellationToken
)
[DebuggerStepThroughAttribute]
public:
virtual Task<LongRunningOperationResultResponse^>^ GetOperationResultStatusAsync (
String^ operationStatusLink,
CancellationToken cancellationToken
) sealed
/** @attribute DebuggerStepThroughAttribute() */
public final Task<LongRunningOperationResultResponse> GetOperationResultStatusAsync (
String operationStatusLink,
CancellationToken cancellationToken
)
DebuggerStepThroughAttribute
public final function GetOperationResultStatusAsync (
operationStatusLink : String,
cancellationToken : CancellationToken
) : Task<LongRunningOperationResultResponse>
Parameters
- operationStatusLink
Required. Location value returned by the Begin operation.
- cancellationToken
Cancellation token.
Return Value
A standard service response for long running operations.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
AutomationManagementClient Class
AutomationManagementClient Members
Microsoft.WindowsAzure.Management.Automation Namespace