Share via


WorkflowRunsOperationsExtensions.CancelAsync Method

Definition

Cancels a workflow run.

public static System.Threading.Tasks.Task CancelAsync (this Microsoft.Azure.Management.Logic.IWorkflowRunsOperations operations, string resourceGroupName, string workflowName, string runName, System.Threading.CancellationToken cancellationToken = default);
static member CancelAsync : Microsoft.Azure.Management.Logic.IWorkflowRunsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CancelAsync (operations As IWorkflowRunsOperations, resourceGroupName As String, workflowName As String, runName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IWorkflowRunsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

workflowName
String

The workflow name.

runName
String

The workflow run name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to