MessageSession.OnBeginRenewLock Méthode

Définition

S’exécute lors de l’appel de l’opération RenewLock ou BeginRenewLock.

protected abstract IAsyncResult OnBeginRenewLock (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginRenewLock : Microsoft.ServiceBus.Tracing.TrackingContext * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginRenewLock (trackingContext As TrackingContext, 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.

timeout
TimeSpan

Intervalle de temps pendant lequel 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 obtenir l’état de l’opération.

S’applique à