Compartilhar via


OperationStatusesOperationsExtensions.GetAsync Método

Definição

Obtenha o status de uma operação assíncrona do Azure de execução prolongada.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.OperationStatus> GetAsync (this Microsoft.Azure.Management.OperationalInsights.IOperationStatusesOperations operations, string location, string asyncOperationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.OperationalInsights.IOperationStatusesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.OperationalInsights.Models.OperationStatus>
<Extension()>
Public Function GetAsync (operations As IOperationStatusesOperations, location As String, asyncOperationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OperationStatus)

Parâmetros

operations
IOperationStatusesOperations

O grupo de operações para esse método de extensão.

location
String

O nome da região da operação.

asyncOperationId
String

A ID da operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a