Share via


SessionLockLostException Constructors

Definition

Overloads

SessionLockLostException(String)

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

SessionLockLostException(String, Exception)

Initializes a new instance of the SessionLockLostException class with a specified error message and a reference to the inner exception that is the cause of this exception.

SessionLockLostException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

SessionLockLostException(String, Exception)

Initializes a new instance of the SessionLockLostException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public SessionLockLostException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.SessionLockLostException : string * Exception -> Microsoft.ServiceBus.Messaging.SessionLockLostException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to