Udostępnij za pośrednictwem


MessageLockLostEventArgs Class

Definition

This type represents the event args relating to the message lock lost event.

public class MessageLockLostEventArgs
type MessageLockLostEventArgs = class
Public Class MessageLockLostEventArgs
Inheritance
MessageLockLostEventArgs

Constructors

MessageLockLostEventArgs(ServiceBusReceivedMessage, Exception)

Constructs a new MessageLockLostEventArgs instance.

Properties

Exception

Gets the exception, if any, which led to the event being raised. If the exception is null, then the event was raised due to the message lock expiring based on the LockedUntil property.

Message

The message that the lock was lost for.

Applies to