Share via


LogicWorkflowRunResource.CancelAsync(CancellationToken) Method

Definition

Cancels a workflow run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/cancel
  • Operation Id: WorkflowRuns_Cancel
  • Default Api Version: 2019-05-01
  • Resource: LogicWorkflowRunResource
public virtual System.Threading.Tasks.Task<Azure.Response> CancelAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.CancelAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CancelAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to