Udostępnij za pośrednictwem


TriggerRunsOperationsExtensions.CancelAsync Method

Definition

Cancel a single trigger instance by runId.

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

Parameters

operations
ITriggerRunsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

triggerName
String

The trigger name.

runId
String

The pipeline run identifier.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to