ProcessSessionMessageEventArgs.SessionLockLostAsync Event
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.
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)