ServiceBusProcessor 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
ServiceBusProcessor() |
Initializes a new instance of the ServiceBusProcessor class for mocking. |
ServiceBusProcessor(ServiceBusClient, String, ServiceBusProcessorOptions) |
Initializes a new instance of the ServiceBusProcessor class for use with derived types. |
ServiceBusProcessor(ServiceBusClient, String, String, ServiceBusProcessorOptions) |
Initializes a new instance of the ServiceBusProcessor class for use with derived types. |
ServiceBusProcessor()
- Source:
- ServiceBusProcessor.cs
- Source:
- ServiceBusProcessor.cs
Initializes a new instance of the ServiceBusProcessor class for mocking.
protected ServiceBusProcessor ();
Protected Sub New ()
Applies to
ServiceBusProcessor(ServiceBusClient, String, ServiceBusProcessorOptions)
- Source:
- ServiceBusProcessor.cs
- Source:
- ServiceBusProcessor.cs
Initializes a new instance of the ServiceBusProcessor class for use with derived types.
protected ServiceBusProcessor (Azure.Messaging.ServiceBus.ServiceBusClient client, string queueName, Azure.Messaging.ServiceBus.ServiceBusProcessorOptions options);
new Azure.Messaging.ServiceBus.ServiceBusProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusProcessor
Protected Sub New (client As ServiceBusClient, queueName As String, options As ServiceBusProcessorOptions)
Parameters
- client
- ServiceBusClient
The client instance to use for the processor.
- queueName
- String
The name of the queue to processor from.
- options
- ServiceBusProcessorOptions
The set of options to use when configuring the processor.
Applies to
ServiceBusProcessor(ServiceBusClient, String, String, ServiceBusProcessorOptions)
- Source:
- ServiceBusProcessor.cs
- Source:
- ServiceBusProcessor.cs
Initializes a new instance of the ServiceBusProcessor class for use with derived types.
protected ServiceBusProcessor (Azure.Messaging.ServiceBus.ServiceBusClient client, string topicName, string subscriptionName, Azure.Messaging.ServiceBus.ServiceBusProcessorOptions options);
new Azure.Messaging.ServiceBus.ServiceBusProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * string * Azure.Messaging.ServiceBus.ServiceBusProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusProcessor
Protected Sub New (client As ServiceBusClient, topicName As String, subscriptionName As String, options As ServiceBusProcessorOptions)
Parameters
- client
- ServiceBusClient
The client instance to use for the processor.
- topicName
- String
The topic to create a processor for.
- subscriptionName
- String
The subscription to create a processor for.
- options
- ServiceBusProcessorOptions
The set of options to use when configuring the processor.