Share via


MessagingProvider.CreateBatchMessageReceiver Method

Definition

Creates a ServiceBusReceiver that will be used to receive a batch of messages.

protected internal virtual Azure.Messaging.ServiceBus.ServiceBusReceiver CreateBatchMessageReceiver (Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusReceiverOptions options);
abstract member CreateBatchMessageReceiver : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusReceiverOptions -> Azure.Messaging.ServiceBus.ServiceBusReceiver
override this.CreateBatchMessageReceiver : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusReceiverOptions -> Azure.Messaging.ServiceBus.ServiceBusReceiver
Protected Friend Overridable Function CreateBatchMessageReceiver (client As ServiceBusClient, entityPath As String, options As ServiceBusReceiverOptions) As ServiceBusReceiver

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
ServiceBusReceiverOptions

The set of options to use for configuring the receiver. These options are computed from the ServiceBusOptions passed to the MessagingProvider constructor.

Returns

A receiver that will be used by the extension to receive a batch of messages.

Remarks

This method is called for functions that bind to multiple messages.

Applies to