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

MessageSession.OnRenewLock(TrackingContext, TimeSpan) Method

Definition

Executes the RenewLock action for message locks.

protected virtual DateTime OnRenewLock (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, TimeSpan timeout);
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