MessagingEntityNotFoundException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MessagingEntityNotFoundException(String) |
Initializes a new instance of the MessagingEntityNotFoundException class with the entity name. |
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. |
MessagingEntityNotFoundException(String)
Initializes a new instance of the MessagingEntityNotFoundException class with the entity name.
public MessagingEntityNotFoundException (string entityName);
new Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException : string -> Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException
Public Sub New (entityName As String)
Parameters
- entityName
- String
The name of the entity.
Applies to
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);
new Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException : string * Exception -> Microsoft.ServiceBus.Messaging.MessagingEntityNotFoundException
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
Azure SDK for .NET