StorSimpleManagementClient.GetOperationStatusAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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