ServiceBusAttribute 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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET