ProcessMessageEventArgs.MessageLockLostAsync Event

Definition

An event that is raised when the message lock is lost. This event is only raised for the scope of the Process Message handler, and only for the message that is delivered to the handler - it is not raised for any additional messages received via the ProcessorReceiveActions. 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.MessageLockLostEventArgs,System.Threading.Tasks.Task> MessageLockLostAsync;
member this.MessageLockLostAsync : Func<Azure.Messaging.ServiceBus.MessageLockLostEventArgs, System.Threading.Tasks.Task> 
Public Event MessageLockLostAsync As Func(Of MessageLockLostEventArgs, Task) 

Event Type

Applies to