StorageManagementClientExtensions.GetOperationStatusAsync 方法 (IStorageManagementClient, String)

 

以异步方式检索操作的状态。

命名空间:   Microsoft.WindowsAzure.Management.Storage
程序集:  Microsoft.WindowsAzure.Management.Storage(Microsoft.WindowsAzure.Management.Storage.dll 中)

语法

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)

参数

返回值

Type: System.Threading.Tasks.Task<OperationStatusResponse>

T:Microsoft.WindowsAzure.Management.Storage.Models.StorageOperationStatusResponse 对象,其中包含操作的状态。

备注

如果异步操作成功,响应将包括成功的请求的 HTTP 状态代码。 如果异步操作失败,响应将包含失败的请求的 HTTP 状态代码并且还包括有关失败的错误信息。

请参阅

StorageManagementClientExtensions 类
Microsoft.WindowsAzure.Management.Storage 命名空间

返回页首