Share via


SessionCannotBeLockedException Constructors

Definition

Overloads

SessionCannotBeLockedException(String)

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

SessionCannotBeLockedException(String, Exception)

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

SessionCannotBeLockedException(String)

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

public SessionCannotBeLockedException (string message);
new Microsoft.ServiceBus.Messaging.SessionCannotBeLockedException : string -> Microsoft.ServiceBus.Messaging.SessionCannotBeLockedException
Public Sub New (message As String)

Parameters

message
String

The error message that describes the cause of the exception.

Applies to

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);
new Microsoft.ServiceBus.Messaging.SessionCannotBeLockedException : string * Exception -> Microsoft.ServiceBus.Messaging.SessionCannotBeLockedException
Public Sub New (message As String, innerException As Exception)

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.

Applies to