你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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