Share via


MessageNotFoundException Constructors

Definition

Overloads

MessageNotFoundException(String)

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

MessageNotFoundException(String, Exception)

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

MessageNotFoundException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

MessageNotFoundException(String, Exception)

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

public MessageNotFoundException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.MessageNotFoundException : string * Exception -> Microsoft.ServiceBus.Messaging.MessageNotFoundException
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