Freigeben über


OperationStatusesOperationsExtensions.GetAsync Methode

Definition

Rufen Sie die status eines azure-asynchronen Vorgangs mit langer Ausführungsdauer ab.

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)

Parameter

operations
IOperationStatusesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

location
String

Der Regionsname des Vorgangs.

asyncOperationId
String

Die Vorgangs-ID.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: