MessagingProvider.CreateSessionMessageProcessor 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 SessionMessageProcessor instance that will be used to process messages.
protected internal virtual Microsoft.Azure.WebJobs.ServiceBus.SessionMessageProcessor CreateSessionMessageProcessor (Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions options);
abstract member CreateSessionMessageProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions -> Microsoft.Azure.WebJobs.ServiceBus.SessionMessageProcessor
override this.CreateSessionMessageProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusSessionProcessorOptions -> Microsoft.Azure.WebJobs.ServiceBus.SessionMessageProcessor
Protected Friend Overridable Function CreateSessionMessageProcessor (client As ServiceBusClient, entityPath As String, options As ServiceBusSessionProcessorOptions) As SessionMessageProcessor
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 message processor that will be used by the extension.
Applies to
Azure SDK for .NET