ResourceManagementClientExtensions.GetLongRunningOperationStatusAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
L'opération Get Operation Status retourne l'état de l'opération spécifiée. Après avoir appelé une opération asynchrone, vous pouvez appeler Get Operation Status pour déterminer si l'opération a réussi, a échoué ou est encore en cours.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse> GetLongRunningOperationStatusAsync(this Microsoft.Azure.Management.Resources.IResourceManagementClient operations, string operationStatusLink);
static member GetLongRunningOperationStatusAsync : Microsoft.Azure.Management.Resources.IResourceManagementClient * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.LongRunningOperationResponse>
<Extension()>
Public Function GetLongRunningOperationStatusAsync (operations As IResourceManagementClient, operationStatusLink As String) As Task(Of LongRunningOperationResponse)
Paramètres
- operations
- IResourceManagementClient
Référence à Microsoft.Azure.Management.Resources.IResourceManagementClient.
- operationStatusLink
- String
Obligatoire. Valeur de l'emplacement retournée par l'opération Begin.
Retours
Réponse de service standard pour les opérations de longue durée.
S’applique à
Azure SDK for .NET