Método AutomationManagementClient.GetOperationResultStatusAsync
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 (em Microsoft.WindowsAzure.Management.Automation.dll)
Uso
'Uso
Dim instance As AutomationManagementClient
Dim operationStatusLink As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of LongRunningOperationResultResponse)
returnValue = instance.GetOperationResultStatusAsync(operationStatusLink, cancellationToken)
Sintaxe
'Declaração
<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>
Parâmetros
- operationStatusLink
Required. Location value returned by the Begin operation.
- cancellationToken
Cancellation token.
Valor de retorno
A standard service response for long running operations.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe AutomationManagementClient
Membros AutomationManagementClient
Namespace Microsoft.WindowsAzure.Management.Automation