다음을 통해 공유


MessagingException Class

Definition

Represents the exception that is thrown for signaling messaging errors.

[System.Serializable]
public class MessagingException : Exception
[<System.Serializable>]
type MessagingException = class
    inherit Exception
Public Class MessagingException
Inherits Exception
Inheritance
MessagingException
Derived
Attributes

Constructors

MessagingException(SerializationInfo, StreamingContext)

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

MessagingException(String, Boolean, Exception)

Initializes a new instance of the MessagingException class.

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)

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

Properties

Data

Gets the data associated with the exception.

Detail

Gets or sets the detail information of the messaging exception.

IsTransient

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

GetObjectData(SerializationInfo, StreamingContext)

Populates the serialization information with data about the exception.

Applies to