次の方法で共有


StorSimpleManagementClientExtensions.GetOperationStatus メソッド

定義

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

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

パラメーター

operations
IStorSimpleManagementClient

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

taskId
String

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

戻り値

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

適用対象