ProcessMessageEventArgs.MessageLockLostAsync 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 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
Azure SDK for .NET