Partager via


LocationsOperationsExtensions.GetAzureAsyncOperationStatusAsync Méthode

Définition

Obtenez l’opération asynchrone status.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.AsyncOperationResult> GetAzureAsyncOperationStatusAsync (this Microsoft.Azure.Management.HDInsight.ILocationsOperations operations, string location, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAzureAsyncOperationStatusAsync : Microsoft.Azure.Management.HDInsight.ILocationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.AsyncOperationResult>
<Extension()>
Public Function GetAzureAsyncOperationStatusAsync (operations As ILocationsOperations, location As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AsyncOperationResult)

Paramètres

operations
ILocationsOperations

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

location
String

Emplacement Azure (région) pour lequel effectuer la demande.

operationId
String

ID d’opération de longue durée.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à