Delen via


TriggerRunClient.CancelTriggerInstance Method

Definition

Cancel single trigger instance by runId.

public virtual Azure.Response CancelTriggerInstance (string triggerName, string runId, System.Threading.CancellationToken cancellationToken = default);
abstract member CancelTriggerInstance : string * string * System.Threading.CancellationToken -> Azure.Response
override this.CancelTriggerInstance : string * string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function CancelTriggerInstance (triggerName As String, runId As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

triggerName
String

The trigger name.

runId
String

The pipeline run identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to