Dela via


MessagingProvider.CreateSessionProcessor Method

Definition

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.

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 ServiceBusProcessor that will be used by the extension.

Remarks

This method is called for functions that bind to a single message.

Applies to