Share via


MessageSession.OnBeginRenewLock Method

Definition

Executes upon calling the RenewLock or BeginRenewLock operation.

protected abstract IAsyncResult OnBeginRenewLock (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginRenewLock : Microsoft.ServiceBus.Tracing.TrackingContext * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginRenewLock (trackingContext As TrackingContext, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

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.

callback
AsyncCallback

An AsyncCallback delegate that references the method to invoke when the operation is complete.

state
Object

A user-defined object that contains state information about the asynchronous operation.

Returns

AnIAsyncResult that references the asynchronous operation to get the state of the operation.

Applies to