MessageLockLostException Class
The exception that is thrown to signal message lock lost errors.
System::Object
System::Exception
Microsoft.ServiceBus.Messaging::MessagingException
Microsoft.ServiceBus.Messaging::MessageLockLostException
System::Exception
Microsoft.ServiceBus.Messaging::MessagingException
Microsoft.ServiceBus.Messaging::MessageLockLostException
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
The MessageLockLostException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MessageLockLostException(String) | Initializes a new instance of the MessageLockLostException class with a specified error message. |
![]() | MessageLockLostException(String, Exception) | Initializes a new instance of the MessageLockLostException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | Detail | Gets the detail information of the messaging exception. (Inherited from MessagingException.) |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | IsTransient | Gets a value indicating whether the exception is transient. Check this property to determine if the operation should be retried. (Inherited from MessagingException.) |
![]() | Message | (Inherited from Exception.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
![]() | Timestamp | Gets or sets the time at which the messaging exception occurred. (Inherited from MessagingException.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetBaseException | (Inherited from Exception.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | Populates the serialization information with data about the exception. (Inherited from MessagingException.) |
![]() | GetType | (Inherited from Exception.) |
![]() | ToString | (Inherited from Exception.) |
If a message takes longer to process than the lock duration set on a queue or subscription, its visibility lock will time out and the message will again become available to the consumers of the queue or subscription. If you attempt to complete or abandon such a message, you may receive this exception, indicating that there is no valid lock found for the given message.
