MessageSession.OnRenewLock(TrackingContext, TimeSpan) Méthode

Définition

Exécute l’action Renouveler le verrouillage pour les verrous de message.

protected virtual DateTime OnRenewLock (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, TimeSpan timeout);
abstract member OnRenewLock : Microsoft.ServiceBus.Tracing.TrackingContext * TimeSpan -> DateTime
override this.OnRenewLock : Microsoft.ServiceBus.Tracing.TrackingContext * TimeSpan -> DateTime
Protected Overridable Function OnRenewLock (trackingContext As TrackingContext, timeout As TimeSpan) As DateTime

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.

Retours

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

S’applique à