MessageReceiver.OnBeginAbandon Méthode

Définition

S’exécute lors de l’appel de l’opération OnAbandon ou BeginAbandon.

protected abstract IAsyncResult OnBeginAbandon (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);
abstract member OnBeginAbandon : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginAbandon (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

Paramètres

trackingContext
TrackingContext

Informations de contexte associées à une transaction qui suit cette opération.

lockTokens
IEnumerable<Guid>

Collection de jetons de verrouillage liés aux instances de message verrouillées.

propertiesToModify
IDictionary<String,Object>

Propriétés à modifier.

fromSync
Boolean

Début de la synchronisation.

timeout
TimeSpan

Intervalle de temps pendant laquelle l’opération attend avant d’expirer.

callback
AsyncCallback

Délégué AsyncCallback qui fait référence à la méthode à appeler quand l'opération est terminée.

state
Object

Objet défini par l’utilisateur qui contient des informations d’état sur l’opération asynchrone.

Retours

IAsyncResult qui fait référence à l’opération asynchrone pour abandonner les messages et abandonner son verrou.

S’applique à