Partager via


OperationStatusesOperationsExtensions.GetAsync Méthode

Définition

Obtenez les status d’une opération asynchrone Azure de longue durée.

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)

Paramètres

operations
IOperationStatusesOperations

Groupe d’opérations pour cette méthode d’extension.

location
String

Nom de région de l’opération.

asyncOperationId
String

ID d'opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à