您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MessageSession.OnAbandon(TrackingContext, IEnumerable<Guid>, IDictionary<String,Object>, TimeSpan) MessageSession.OnAbandon(TrackingContext, IEnumerable<Guid>, IDictionary<String,Object>, TimeSpan) Method

Definition

Abandons a peek locked message.

protected override void OnAbandon (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, System.Collections.Generic.IDictionary<string,object> propertiesToModify, TimeSpan timeout);
override this.OnAbandon : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * TimeSpan -> unit
Parameters
trackingContext
TrackingContext TrackingContext

TrackingContext to use.

lockTokens
IEnumerable<Guid>

The lock tokens.

propertiesToModify
IDictionary<String,Object>
timeout
TimeSpan TimeSpan

The timeout.

Applies to