Share via


MessageSender.OnBeginSend 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
fromSync
Boolean
timeout
TimeSpan
callback
AsyncCallback
state
Object

Returns

Applies to