Export (0) Print
Expand All

MessageSender.BeginSendBatch Method

Begins an asynchronous request to send a brokered message by batch.

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

public IAsyncResult BeginSendBatch(
	IEnumerable<BrokeredMessage> messages,
	AsyncCallback callback,
	Object state
)

Parameters

messages
Type: System.Collections.Generic.IEnumerable<BrokeredMessage>
The brokered message to send.
callback
Type: System.AsyncCallback
A AsyncCallback delegate that references the method to invoke when the operation is complete.
state
Type: System.Object
A user-defined object that contains information about the receive operation. This object is passed to the EndSend(IAsyncResult) delegate when the operation is complete.

Return Value

Type: System.IAsyncResult
The synchronous result of the operation.

Community Additions

ADD
Show:
© 2014 Microsoft