MessagingProvider.CreateBatchMessageReceiver 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 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
Azure SDK for .NET