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

MessageSession.OnBeginDefer 方法

定义

执行开始延迟操作。

protected override IAsyncResult OnBeginDefer (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, System.Collections.Generic.IDictionary<string,object> propertiesToModify, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginDefer : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginDefer (trackingContext As TrackingContext, lockTokens As IEnumerable(Of Guid), propertiesToModify As IDictionary(Of String, Object), fromSync As Boolean, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

参数

trackingContext
TrackingContext

要使用的 TrackingContext。

lockTokens
IEnumerable<Guid>

锁标记。

propertiesToModify
IDictionary<String,Object>

要修改的消息属性。

fromSync
Boolean
timeout
TimeSpan

超时。

callback
AsyncCallback

回调。

state
Object

状态。

返回

适用于