다음을 통해 공유


ProcessMessageEventArgs.OnMessageLockLostAsync Method

Definition

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

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

Parameters

args
MessageLockLostEventArgs

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

Returns

Applies to