StorageManagementClient::GetOperationStatusAsync Method (String^, CancellationToken)
Asynchronously retrieves the status of an operation.
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
public: virtual Task<OperationStatusResponse^>^ GetOperationStatusAsync( String^ requestId, CancellationToken cancellationToken ) sealed
Parameters
- requestId
-
Type:
System::String^
The request ID.
- cancellationToken
-
Type:
System.Threading::CancellationToken
The 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.
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.
Show: