MessagingProvider.CreateProcessor Method
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.
Creates a ServiceBusProcessor instance that will be used to receive messages from the entity.
protected internal virtual Azure.Messaging.ServiceBus.ServiceBusProcessor CreateProcessor (Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusProcessorOptions options);
abstract member CreateProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusProcessor
override this.CreateProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusProcessor
Protected Friend Overridable Function CreateProcessor (client As ServiceBusClient, entityPath As String, options As ServiceBusProcessorOptions) As ServiceBusProcessor
Parameters
- client
- ServiceBusClient
The client that is being used to communicate with the service.
- entityPath
- String
The path to the Service Bus entity that is being received from.
- options
- ServiceBusProcessorOptions
The set of options to use for configuring the processor. These options are computed from the ServiceBusOptions passed to the MessagingProvider constructor.
Returns
A ServiceBusProcessor that will be used by the extension.
Remarks
This method is called for functions that bind to a single message.
Applies to
Azure SDK for .NET