您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MessageSession.OnRenewLock(TrackingContext, TimeSpan) 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
Parameters
trackingContext
TrackingContext TrackingContext

The context information associated by a transaction tracking this operation.

timeout
TimeSpan 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