Compartir a través de


TriggersOperationsExtensions.SubscribeToEventsAsync Método

Definición

Suscripción del desencadenador de eventos a 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

Grupo de operaciones para este método de extensión.

resourceGroupName
String

El nombre del grupo de recursos.

factoryName
String

Nombre del generador.

triggerName
String

Nombre del desencadenador.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a