Class SessionCannotBeLockedException
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Represents the exception that is thrown when a message cannot acquire lock on a session.
public sealed class SessionCannotBeLockedException : MessagingException, ISerializable
- Inheritance
-
SessionCannotBeLockedException
- Implements
- Inherited Members
Constructors
SessionCannotBeLockedException(string)
Initializes a new instance of the SessionCannotBeLockedException class with a specified error message.
public SessionCannotBeLockedException(string message)
Parameters
message
stringThe error message that describes the cause of the exception.
SessionCannotBeLockedException(string, Exception)
Initializes a new instance of the SessionCannotBeLockedException class with a specified error message and a reference to the inner.
public SessionCannotBeLockedException(string message, Exception innerException)