SALES: 1-800-867-1380

MessageSender.OnBeginSend Method

Allows concrete implementations to define what should be done when sending messages. This method cannot be implemented in a concrete class by the user.

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

abstract OnBeginSend : 
        trackingContext:TrackingContext * 
        messages:IEnumerable<BrokeredMessage> * 
        fromSync:bool * 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 

Parameters

trackingContext
Type: Microsoft.ServiceBus.Tracing.TrackingContext
The context of the tracking.
messages
Type: System.Collections.Generic.IEnumerable(BrokeredMessage)
A list of BrokeredMessage objects to be sent.
fromSync
Type: System.Boolean
The start of synchronization.
timeout
Type: System.TimeSpan
A client side timeout value for the operation. The operation should be aborted or cancelled if the duration exceeds this timeout.
callback
Type: System.AsyncCallback
A user callback to be invoked when the operation completes.
state
Type: System.Object
The state to be passed to the callback when the operation completes.

Return Value

Type: System.IAsyncResult
A IAsyncResult for the operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft