Share via


MessageLockLostEventArgs(ServiceBusReceivedMessage, Exception) Constructor

Definition

Constructs a new MessageLockLostEventArgs instance.

public MessageLockLostEventArgs (Azure.Messaging.ServiceBus.ServiceBusReceivedMessage message, Exception exception);
new Azure.Messaging.ServiceBus.MessageLockLostEventArgs : Azure.Messaging.ServiceBus.ServiceBusReceivedMessage * Exception -> Azure.Messaging.ServiceBus.MessageLockLostEventArgs
Public Sub New (message As ServiceBusReceivedMessage, exception As Exception)

Parameters

message
ServiceBusReceivedMessage

The message that the lock was lost for.

exception
Exception

The exception, if any, which led to the event being raised.

Applies to