Aracılığıyla paylaş


ProcessSessionMessageEventArgs.OnSessionLockLostAsync Method

Definition

Invokes the session lock lost event handler after a session lock is lost. This method can be overridden to raise an event manually for testing purposes.

protected internal virtual System.Threading.Tasks.Task OnSessionLockLostAsync (Azure.Messaging.ServiceBus.SessionLockLostEventArgs args);
abstract member OnSessionLockLostAsync : Azure.Messaging.ServiceBus.SessionLockLostEventArgs -> System.Threading.Tasks.Task
override this.OnSessionLockLostAsync : Azure.Messaging.ServiceBus.SessionLockLostEventArgs -> System.Threading.Tasks.Task
Protected Friend Overridable Function OnSessionLockLostAsync (args As SessionLockLostEventArgs) As Task

Parameters

args
SessionLockLostEventArgs

The event args containing information related to the lock lost event.

Returns

Applies to