SALES: 1-800-867-1380

MessagingException Class

Represents the exception that is thrown for signaling messaging errors.


Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

type MessagingException =  
        inherit Exception

The MessagingException type exposes the following members.

Public methodMessagingException(String)Initializes a new instance of the MessagingException class with a specified error message.
Protected methodMessagingException(SerializationInfo, StreamingContext)Initializes a new instance of the MessagingException class with serialization information and streaming context.
Public methodMessagingException(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 methodMessagingException(String, Boolean, Exception)Initializes a new instance of the MessagingException class.

Public propertyDataGets the data associated with the exception. (Overrides Exception.Data.)
Public propertyDetailGets or sets the detail information of the messaging exception.
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyIsTransientGets or sets a value indicating whether the exception is transient. Check this property to determine if the operation should be retried.
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Public propertyTimestampGets or sets the time at which the messaging exception occurred.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataPopulates the serialization information with data about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)

Protected eventSerializeObjectState (Inherited from Exception.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft