ServiceBusAttribute(String, ServiceBusEntityType) Constructor

Definition

Initializes a new instance of the ServiceBusAttribute class.

public ServiceBusAttribute (string queueOrTopicName, Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType entityType = Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType.Queue);
new Microsoft.Azure.WebJobs.ServiceBusAttribute : string * Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType -> Microsoft.Azure.WebJobs.ServiceBusAttribute
Public Sub New (queueOrTopicName As String, Optional entityType As ServiceBusEntityType = Microsoft.Azure.WebJobs.ServiceBus.ServiceBusEntityType.Queue)

Parameters

queueOrTopicName
System.String

The name of the queue or topic to bind to.

entityType
ServiceBusEntityType

The type of the entity to bind to.

Applies to