MessageSession.OnBeginDeadLetter Méthode

Définition

Exécute l’action commencer le déplacement vers la file d’attente de lettres mortes.

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

Paramètres

trackingContext
TrackingContext

TrackingContext à utiliser.

lockTokens
IEnumerable<Guid>

Jetons de verrouillage.

propertiesToModify
IDictionary<String,Object>

propriétés de message à modifier.

deadLetterReason
String

Raison de l’inactifage du message.

deadLetterErrorDescription
String

Informations de description pour le deadlettering du message.

fromSync
Boolean

true si elle a été appelée à partir d’une méthode de synchronisation.

timeout
TimeSpan

Le délai d'attente.

callback
AsyncCallback

Rappel.

state
Object

État.

Retours

.

S’applique à