Class MessagingEntityNotFoundException
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
The exception that is thrown for signaling messaging entity not found errors.
public sealed class MessagingEntityNotFoundException : MessagingException, ISerializable
- Inheritance
-
MessagingEntityNotFoundException
- Implements
- Inherited Members
Constructors
MessagingEntityNotFoundException(string)
Initializes a new instance of the MessagingEntityNotFoundException class with the entity name.
public MessagingEntityNotFoundException(string entityName)
Parameters
entityName
stringThe name of the entity.
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)
Parameters
message
stringThe error message that explains the reason for the exception.
innerException
ExceptionThe exception that is the cause of the current exception.
Methods
ToString()
Returns a string representation of the current exception.
public override string ToString()
Returns
- string
A string representation of the current exception.