Share via


MessagingProvider.CreateSessionMessageProcessor Method

Definition

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.

options
ServiceBusSessionProcessorOptions

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