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

MessageReceiver.OnDefer 方法

定义

执行延迟操作。

protected virtual void OnDefer (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, System.Collections.Generic.IDictionary<string,object> propertiesToModify, TimeSpan timeout);
abstract member OnDefer : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * TimeSpan -> unit
override this.OnDefer : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * TimeSpan -> unit
Protected Overridable Sub OnDefer (trackingContext As TrackingContext, lockTokens As IEnumerable(Of Guid), propertiesToModify As IDictionary(Of String, Object), timeout As TimeSpan)

参数

trackingContext
TrackingContext

要使用的 TrackingContext。

lockTokens
IEnumerable<Guid>

锁标记。

propertiesToModify
IDictionary<String,Object>
timeout
TimeSpan

超时。

适用于