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

MessageSession.OnBeginDeadLetter(TrackingContext, IEnumerable<Guid>, IDictionary<String,Object>, String, String, Boolean, TimeSpan, AsyncCallback, Object) Method

Definition

Executes the begin move to dead letter queue action.

protected override IAsyncResult OnBeginDeadLetter (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, System.Collections.Generic.IDictionary<string,object> propertiesToModify, string deadLetterReason, string deadLetterErrorDescription, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
Parameters
trackingContext
TrackingContext

TrackingContext to use.

lockTokens
IEnumerable<Guid>

The lock tokens.

propertiesToModify
IDictionary<String,Object>

message properties to modify.

deadLetterReason
String

The reason for deadlettering the message.

deadLetterErrorDescription
String

The description information for deadlettering the message.

fromSync
Boolean

true if this was called from a sync method.

timeout
TimeSpan

The timeout.

callback
AsyncCallback

The callback.

state
Object

The state.

Returns

Applies to