MessagingEntityNotFoundException MessagingEntityNotFoundException Class

The exception that is thrown for signaling messaging entity not found errors.

Syntax

Declaration

[Serializable]
public sealed class MessagingEntityNotFoundException : MessagingException, ISerializable, _Exception<Serializable>
Public NotInheritable Class MessagingEntityNotFoundException
    Inherits MessagingException
    Implements ISerializable, _Exception

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the MessagingEntityNotFoundException class with the entity name.

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

Methods summary

Returns a string representation of the current exception.

Constructors

  • MessagingEntityNotFoundException(String)
    MessagingEntityNotFoundException(String)

    Initializes a new instance of the MessagingEntityNotFoundException class with the entity name.

    public MessagingEntityNotFoundException(string entityName)Public Sub New(entityName As String)

    Parameters

  • MessagingEntityNotFoundException(String, Exception)
    MessagingEntityNotFoundException(String, Exception)

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

    public MessagingEntityNotFoundException(string message, Exception innerException)Public Sub New(message As String, innerException As Exception)

    Parameters

    • message

      The error message that explains the reason for the exception.

    • innerException

      The exception that is the cause of the current exception.

Methods

  • ToString()
    ToString()

    Returns a string representation of the current exception.

    public override string ToString()Public Overrides Function ToString As String

    Returns

    • A string representation of the current exception.

Details

Assembly

Microsoft.ServiceBus.dll