Partager via


IWorkflowsOperations.AbortWithHttpMessagesAsync Méthode

Définition

Abandonner le flux de travail donné.

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

Paramètres

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

storageSyncServiceName
String

Nom de la ressource du service de synchronisation de stockage.

workflowId
String

ID de workflow

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à