Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously retrieves the status of an operation.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
Task<OperationStatusResponse> GetOperationStatusAsync(
string requestId,
CancellationToken cancellationToken
)
Task<OperationStatusResponse^>^ GetOperationStatusAsync(
String^ requestId,
CancellationToken cancellationToken
)
abstract GetOperationStatusAsync :
requestId:string *
cancellationToken:CancellationToken -> Task<OperationStatusResponse>
Function GetOperationStatusAsync (
requestId As String,
cancellationToken As CancellationToken
) As Task(Of OperationStatusResponse)
Parameters
requestId
Type: System.StringThe request ID.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationStatusResponse>
The T:Microsoft.WindowsAzure.Management.Storage.Models.StorageOperationStatusResponse object that contains the status of the operation.
Remarks
If the asynchronous operation succeeds, the response includes the HTTP status code for the successful request. If the asynchronous operation failed, the response includes the HTTP status code for the failed request, and also includes error information about the failure.
See Also
IStorageManagementClient Interface
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top