StorageManagementClientExtensions.GetOperationStatusAsync Method (IStorageManagementClient, String)
Asynchronously retrieves the status of an operation.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
public static Task<OperationStatusResponse> GetOperationStatusAsync(
this IStorageManagementClient operations,
string requestId
)
public:
[ExtensionAttribute]
static Task<OperationStatusResponse^>^ GetOperationStatusAsync(
IStorageManagementClient^ operations,
String^ requestId
)
static member GetOperationStatusAsync :
operations:IStorageManagementClient *
requestId:string -> Task<OperationStatusResponse>
<ExtensionAttribute>
Public Shared Function GetOperationStatusAsync (
operations As IStorageManagementClient,
requestId As String
) As Task(Of OperationStatusResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Storage.IStorageManagementClientThe IStorageAccountOperations object that specifies the storage account operations.
requestId
Type: System.StringThe request ID.
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
StorageManagementClientExtensions Class
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top