MessageSender.OnBeginSend(TrackingContext, IEnumerable<BrokeredMessage>, Boolean, TimeSpan, AsyncCallback, Object) Method

Definition

Executes the begin send action. This method is intended for internal consumption and cannot be implemented in a concrete class by the user.

protected abstract IAsyncResult OnBeginSend (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> messages, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginSend : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Microsoft.ServiceBus.Messaging.BrokeredMessage> * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginSend (trackingContext As TrackingContext, messages As IEnumerable(Of BrokeredMessage), fromSync As Boolean, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

trackingContext
TrackingContext
messages
System.Collections.Generic.IEnumerable<BrokeredMessage>
fromSync
System.Boolean
timeout
System.TimeSpan
callback
System.AsyncCallback
state
System.Object

Returns

System.IAsyncResult

Applies to