SessionCannotBeLockedException SessionCannotBeLockedException Class

Definition

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

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

Inherited Members

Microsoft.ServiceBus.Messaging.MessagingException

System.Exception

System.Object

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
String String

The error message that describes the cause of the exception.

Attributes

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
String String

The error message that describes the cause of the exception.

innerException
Exception Exception

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

Attributes