Share via


StorSimpleManagementClient.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo> GetOperationStatusAsync (string taskId, System.Threading.CancellationToken cancellationToken);
abstract member GetOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
override this.GetOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.StorSimple.Models.TaskStatusInfo>
Public Function GetOperationStatusAsync (taskId As String, cancellationToken As CancellationToken) As Task(Of TaskStatusInfo)

Parameters

taskId
String

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

cancellationToken
CancellationToken

Cancellation token.

Returns

Info about the async task

Implements

Applies to