共用方式為


ProcessSessionMessageEventArgs.SessionLockLostAsync Event

Definition

An event that is raised when the session lock is lost. This event is only raised for the scope of the Process Session Message handler. Once the handler returns, the event will not be raised. There are two cases in which this event can be raised:

public event Func<Azure.Messaging.ServiceBus.SessionLockLostEventArgs,System.Threading.Tasks.Task> SessionLockLostAsync;
member this.SessionLockLostAsync : Func<Azure.Messaging.ServiceBus.SessionLockLostEventArgs, System.Threading.Tasks.Task> 
Public Event SessionLockLostAsync As Func(Of SessionLockLostEventArgs, Task) 

Event Type

Applies to