MessageSession.OnRenewLock(TrackingContext, TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET