共用方式為


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 命名空間

回到頁首