你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MessageSender.OnBeginSend 方法

定义

执行开始发送操作。 此方法适用于内部使用,不能由用户在具体类中实现。

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

参数

trackingContext
TrackingContext
fromSync
Boolean
timeout
TimeSpan
callback
AsyncCallback
state
Object

返回

适用于