Table of Contents

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 string

The 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)

Parameters

message string

The error message that describes the cause of the exception.

innerException Exception

The inner exception that is the cause of the current exception.