Condividi tramite


ServiceBusAttribute Constructors

Definition

Overloads

ServiceBusAttribute(String)
ServiceBusAttribute(String, EntityType)
ServiceBusAttribute(String, ServiceBusEntityType)

Initializes a new instance of the ServiceBusAttribute class.

ServiceBusAttribute(String)

Source:
ServiceBusAttribute.cs
public ServiceBusAttribute (string queueOrTopicName);
new Microsoft.Azure.WebJobs.ServiceBusAttribute : string -> Microsoft.Azure.WebJobs.ServiceBusAttribute
Public Sub New (queueOrTopicName As String)

Parameters

queueOrTopicName
String

Applies to

ServiceBusAttribute(String, EntityType)

Source:
ServiceBusAttribute.cs
public ServiceBusAttribute (string queueOrTopicName, Microsoft.Azure.WebJobs.ServiceBus.EntityType entityType);
new Microsoft.Azure.WebJobs.ServiceBusAttribute : string * Microsoft.Azure.WebJobs.ServiceBus.EntityType -> Microsoft.Azure.WebJobs.ServiceBusAttribute
Public Sub New (queueOrTopicName As String, entityType As EntityType)

Parameters

queueOrTopicName
String
entityType
EntityType

Applies to

ServiceBusAttribute(String, ServiceBusEntityType)

Source:
ServiceBusAttribute.cs

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
String

The name of the queue or topic to bind to.

entityType
ServiceBusEntityType

The type of the entity to bind to.

Applies to