共用方式為


WorkflowsOperationsExtensions.AbortAsync Method

Definition

Abort the given workflow.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.WorkflowsAbortHeaders> AbortAsync (this Microsoft.Azure.Management.StorageSync.IWorkflowsOperations operations, string resourceGroupName, string storageSyncServiceName, string workflowId, System.Threading.CancellationToken cancellationToken = default);
static member AbortAsync : Microsoft.Azure.Management.StorageSync.IWorkflowsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.WorkflowsAbortHeaders>
<Extension()>
Public Function AbortAsync (operations As IWorkflowsOperations, resourceGroupName As String, storageSyncServiceName As String, workflowId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkflowsAbortHeaders)

Parameters

operations
IWorkflowsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

storageSyncServiceName
String

Name of Storage Sync Service resource.

workflowId
String

workflow Id

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to