Freigeben über


IOperationStatusOperations.GetWithHttpMessagesAsync Methode

Definition

Get Operation status

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.StorageSync.Models.OperationStatus,Microsoft.Azure.Management.StorageSync.Models.OperationStatusGetHeaders>> GetWithHttpMessagesAsync (string resourceGroupName, string locationName, string workflowId, string operationId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.StorageSync.Models.OperationStatus, Microsoft.Azure.Management.StorageSync.Models.OperationStatusGetHeaders>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, locationName As String, workflowId As String, operationId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of OperationStatus, OperationStatusGetHeaders))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.

locationName
String

Die gewünschte Region, aus der Informationen abgerufen werden sollen.

workflowId
String

Workflow-ID

operationId
String

Vorgangs-ID

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: