SALG : 1-800-867-1389
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

MessageSender.SendBatch Method (IEnumerable<BrokeredMessage>)

 

Sends a set of brokered messages (for batch processing).

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public void SendBatch(
	IEnumerable<BrokeredMessage> messages
)

Parameters

messages
Type: System.Collections.Generic.IEnumerable<BrokeredMessage>

The collection of brokered messages to send.

The maximum size of the batch is the same as the maximum size of a single message (currently 256 Kb).

IEnumerable<BrokeredMessage> messageSet;
messageSender.SendBatch(messageSet);
messageSet = messageReceiver.ReceiveBatch(100); //max count
Return to top
Syntes du, dette var nyttigt?
(1500 tegn tilbage)
Tak for din feedback
Vis:
© 2015 Microsoft