Share via


StorSimpleManagementClientExtensions.GetOperationStatusAsync Method

Definition

The Get Task Status returns the status of the specified task id. After calling an asynchronous task, you can call Get Task Status to determine whether the task has succeeded, failed, or is still in progress.

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)

Parameters

operations
IStorSimpleManagementClient

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IStorSimpleManagementClient.

taskId
String

Required. The task Id for the request you wish to track.

Returns

Info about the async task

Applies to