Share via


ServiceBusTriggerAttribute Constructors

Definition

Overloads

ServiceBusTriggerAttribute(String)

Initializes a new instance of the ServiceBusTriggerAttribute class.

ServiceBusTriggerAttribute(String, String)

Initializes a new instance of the ServiceBusTriggerAttribute class.

ServiceBusTriggerAttribute(String)

Source:
ServiceBusTriggerAttribute.cs
Source:
ServiceBusTriggerAttribute.cs

Initializes a new instance of the ServiceBusTriggerAttribute class.

public ServiceBusTriggerAttribute (string queueName);
new Microsoft.Azure.WebJobs.ServiceBusTriggerAttribute : string -> Microsoft.Azure.WebJobs.ServiceBusTriggerAttribute
Public Sub New (queueName As String)

Parameters

queueName
String

The name of the queue to which to bind.

Applies to

ServiceBusTriggerAttribute(String, String)

Source:
ServiceBusTriggerAttribute.cs
Source:
ServiceBusTriggerAttribute.cs

Initializes a new instance of the ServiceBusTriggerAttribute class.

public ServiceBusTriggerAttribute (string topicName, string subscriptionName);
new Microsoft.Azure.WebJobs.ServiceBusTriggerAttribute : string * string -> Microsoft.Azure.WebJobs.ServiceBusTriggerAttribute
Public Sub New (topicName As String, subscriptionName As String)

Parameters

topicName
String

The name of the topic to bind to.

subscriptionName
String

The name of the subscription in topicName to bind to.

Applies to