TriggersOperationsExtensions.SubscribeToEventsAsync Method

Definition

Subscribe event trigger to events.

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)

Parameters

operations
ITriggersOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

triggerName
String

The trigger name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to