你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorSimpleManagementClientExtensions.GetOperationStatusAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取任务状态返回指定任务 ID 的状态。调用异步任务后,可以调用“获取任务状态”,以确定任务是成功、失败还是仍在进行中。
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。
返回
有关异步任务的信息