SessionCannotBeLockedException SessionCannotBeLockedException Class

Represents the exception that is thrown when a message cannot acquire lock on a session.

Syntax

Declaration

[Serializable]
public sealed class SessionCannotBeLockedException : MessagingException, ISerializable, _Exception<Serializable>
Public NotInheritable Class SessionCannotBeLockedException
    Inherits MessagingException
    Implements ISerializable, _Exception

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the SessionCannotBeLockedException class with a specified error message.

Initializes a new instance of the SessionCannotBeLockedException class with a specified error message and a reference to the inner.

Constructors

  • SessionCannotBeLockedException(String)
    SessionCannotBeLockedException(String)

    Initializes a new instance of the SessionCannotBeLockedException class with a specified error message.

    public SessionCannotBeLockedException(string message)Public Sub New(message As String)

    Parameters

    • message

      The error message that describes the cause of the exception.

  • SessionCannotBeLockedException(String, 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)Public Sub New(message As String, innerException As Exception)

    Parameters

    • message

      The error message that describes the cause of the exception.

    • innerException

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

Details

Namespace

Microsoft.ServiceBus.Messaging

Assembly

Microsoft.ServiceBus.dll