次の方法で共有


StorSimpleManagementClientExtensions.GetOperationStatusAsync メソッド

定義

タスクの状態の取得は、指定したタスク ID の状態を返します。非同期タスクを呼び出した後、Get Task Status を呼び出して、タスクが成功したか、失敗したか、進行中であるかを判断できます。

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> GetOperationStatusAsync (this Microsoft.WindowsAzure.Management.StorSimple.IStorSimpleManagementClient operations, string taskId);
static member GetOperationStatusAsync : Microsoft.WindowsAzure.Management.StorSimple.IStorSimpleManagementClient * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
<Extension()>
Public Function GetOperationStatusAsync (operations As IStorSimpleManagementClient, taskId As String) As Task(Of TaskStatusInfo)

パラメーター

operations
IStorSimpleManagementClient

Microsoft.WindowsAzure.Management.StorSimple.IStorSimpleManagementClient への参照。

taskId
String

必須。 追跡する要求のタスク ID。

戻り値

非同期タスクに関する情報

適用対象