Table of Contents

Class MessageNotFoundException

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll

The exception that is thrown to signal message not found errors.

public sealed class MessageNotFoundException : MessagingException, ISerializable
Inheritance
MessageNotFoundException
Implements
Inherited Members

Constructors

MessageNotFoundException(string)

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

public MessageNotFoundException(string message)

Parameters

message string

The error message that explains the reason for the exception.

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)

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.