Partilhar via


TriggerClient.StartSubscribeTriggerToEventsAsync Método

Definição

Assinar o gatilho de evento para eventos.

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

Parâmetros

triggerName
String

O nome do gatilho.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

triggerName é nulo.

Aplica-se a