MessagingProvider.CreateSessionProcessor 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.ServiceBusSessionProcessor CreateSessionProcessor (Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions options);
abstract member CreateSessionProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusSessionProcessor
override this.CreateSessionProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusSessionProcessor
Protected Friend Overridable Function CreateSessionProcessor (client As ServiceBusClient, entityPath As String, options As ServiceBusSessionProcessorOptions) As ServiceBusSessionProcessor
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.
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