Compartilhar via


TriggersOperationsExtensions.SubscribeToEventsAsync Método

Definição

Assinar gatilho de evento para eventos.

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

Parâmetros

operations
ITriggersOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

factoryName
String

O nome da fábrica.

triggerName
String

O nome do gatilho.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a