ServiceBusTriggerAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ServiceBusTriggerAttribute(String) |
Initializes a new instance of the ServiceBusTriggerAttribute class. |
ServiceBusTriggerAttribute(String, String) |
Initializes a new instance of the ServiceBusTriggerAttribute class. |
ServiceBusTriggerAttribute(String)
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)
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.