Share via


MessageSession.OnRenewLock(TrackingContext, TimeSpan) Method

Definition

Executes the RenewLock action for message locks.

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

Parameters

trackingContext
TrackingContext

The context information associated by a transaction tracking this operation.

timeout
TimeSpan

The time span interval the operation waits before it times out.

Returns

The time span the operation waits before it times out.

Applies to