Partager via


MessageReceiver.OnBeginComplete Méthode

Définition

Surcharges

OnBeginComplete(TrackingContext, IEnumerable<Guid>, Boolean, TimeSpan, AsyncCallback, Object)

S’exécute lors de l’appel de l’opération OnComplete ou BeginComplete.

OnBeginComplete(TrackingContext, IEnumerable<ArraySegment<Byte>>, Boolean, TimeSpan, AsyncCallback, Object)

S’exécute lors de l’appel de l’opération OnComplete ou BeginComplete.

OnBeginComplete(TrackingContext, IEnumerable<Guid>, Boolean, TimeSpan, AsyncCallback, Object)

S’exécute lors de l’appel de l’opération OnComplete ou BeginComplete.

protected abstract IAsyncResult OnBeginComplete (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginComplete : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginComplete (trackingContext As TrackingContext, lockTokens As IEnumerable(Of Guid), 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 verrou liés aux instances de message verrouillées.

fromSync
Boolean

Début de la synchronisation.

timeout
TimeSpan

Intervalle de temps d’attente de l’opération avant son expiration.

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 terminer la réception des messages.

S’applique à

OnBeginComplete(TrackingContext, IEnumerable<ArraySegment<Byte>>, Boolean, TimeSpan, AsyncCallback, Object)

S’exécute lors de l’appel de l’opération OnComplete ou BeginComplete.

protected abstract IAsyncResult OnBeginComplete (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<ArraySegment<byte>> deliveryTags, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginComplete : Microsoft.ServiceBus.Tracing.TrackingContext * seq<ArraySegment<byte>> * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginComplete (trackingContext As TrackingContext, deliveryTags As IEnumerable(Of ArraySegment(Of Byte)), 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.

deliveryTags
IEnumerable<ArraySegment<Byte>>

Collection d’étiquettes de remise.

fromSync
Boolean

Début de la synchronisation.

timeout
TimeSpan

Intervalle de temps d’attente de l’opération avant son expiration.

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 terminer la réception des messages.

S’applique à