Compartilhar via


TriggerRunClient.CancelTriggerInstanceAsync Método

Definição

Cancele a instância de gatilho único por runId.

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

Parâmetros

triggerName
String

O nome do gatilho.

runId
String

O identificador de execução do pipeline.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a