Messaging​Exception Class

Definition

Represents the exception that is thrown for signaling messaging errors.

public class MessagingException : Exception
Inheritance
MessagingException
Derived

Constructors

Messaging​Exception(​String)

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

Messaging​Exception(​Serialization​Info, ​Streaming​Context)

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

Messaging​Exception(​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.

Messaging​Exception(​String, ​Boolean, ​Exception)

Initializes a new instance of the MessagingException class.

Properties

Data

Gets the data associated with the exception.

Detail

Gets or sets the detail information of the messaging exception.

Is​Transient

Gets or sets a value indicating whether the exception is transient. Check this property to determine if the operation should be retried.

Timestamp

Gets or sets the time at which the messaging exception occurred.

Methods

Get​Object​Data(​Serialization​Info, ​Streaming​Context)

Populates the serialization information with data about the exception.