MessagingException MessagingException MessagingException Constructors

Definition

Overloads

MessagingException(String) MessagingException(String) MessagingException(String)

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

MessagingException(SerializationInfo, StreamingContext) MessagingException(SerializationInfo, StreamingContext) MessagingException(SerializationInfo, StreamingContext)

Initializes a new instance of the MessagingException class with serialization information and streaming context.

MessagingException(String, Exception) MessagingException(String, Exception) MessagingException(String, Exception)

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

MessagingException(String, Boolean, Exception) MessagingException(String, Boolean, Exception) MessagingException(String, Boolean, Exception)

Initializes a new instance of the MessagingException class.

MessagingException(String) MessagingException(String) MessagingException(String)

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

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

The error message that explains the reason for the exception.

MessagingException(SerializationInfo, StreamingContext) MessagingException(SerializationInfo, StreamingContext) MessagingException(SerializationInfo, StreamingContext)

Initializes a new instance of the MessagingException class with serialization information and streaming context.

protected MessagingException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ServiceBus.Messaging.MessagingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ServiceBus.Messaging.MessagingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
info
SerializationInfo SerializationInfo SerializationInfo

The serialization information.

context
StreamingContext StreamingContext StreamingContext

The streaming context.

MessagingException(String, Exception) MessagingException(String, Exception) MessagingException(String, Exception)

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

public MessagingException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.MessagingException : string * Exception -> Microsoft.ServiceBus.Messaging.MessagingException
Public Sub New (message As String, innerException As Exception)
Parameters
message
String String String

The error message that explains the reason for the exception.

innerException
Exception Exception Exception

The exception that is the cause of the current exception.

MessagingException(String, Boolean, Exception) MessagingException(String, Boolean, Exception) MessagingException(String, Boolean, Exception)

Initializes a new instance of the MessagingException class.

public MessagingException (string message, bool isTransientError, Exception innerException);
new Microsoft.ServiceBus.Messaging.MessagingException : string * bool * Exception -> Microsoft.ServiceBus.Messaging.MessagingException
Public Sub New (message As String, isTransientError As Boolean, innerException As Exception)
Parameters
message
String String String

The error message that explains the reason for the exception.

isTransientError
Boolean Boolean Boolean

true if the exception is transient; otherwise, false.

innerException
Exception Exception Exception

The exception that is the cause of the current exception.

Applies to