Share via


MessageException Class

 

Base class for a message exception.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.ConfigurationManagement.Messaging.Framework.MessageException
      Microsoft.ConfigurationManagement.Messaging.Framework.MessagePropertyException
      Microsoft.ConfigurationManagement.Messaging.Framework.MessageSignatureVerificationException
      Microsoft.ConfigurationManagement.Messaging.Framework.MessageSigningRequiredException
      Microsoft.ConfigurationManagement.Messaging.Framework.MessageValidationException

Syntax

[SerializableAttribute]
public class MessageException : Exception, IMessageException
[SerializableAttribute]
public ref class MessageException : Exception, IMessageException
<SerializableAttribute>
Public Class MessageException
    Inherits Exception
    Implements IMessageException

Constructors

Name Description
System_CAPS_protmethod MessageException()

Initializes a new instance of the MessageException class. This is a standard exception constructor.

System_CAPS_protmethod MessageException(SerializationInfo, StreamingContext)

Initializes a new instance of the MessageException class. This is a serialized exception constructor.

System_CAPS_protmethod MessageException(String)

Initializes a new instance of the MessageException class. This is a standard exception constructor.

System_CAPS_protmethod MessageException(String, Exception)

Initializes a new instance of the MessageException class. This is a standard exception constructor.

System_CAPS_pubmethod MessageException(String, IMessageBase)

Initializes a new instance of the MessageException class. This constructor is an exception with a message.

System_CAPS_pubmethod MessageException(String, IMessageBase, Exception)

Initializes a new instance of the MessageException class. This constructor is an exception with a message.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty SendingMessage

Gets the base message that threw the exception.

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Gets object data for serialization. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Events

Name Description
System_CAPS_protevent SerializeObjectState

(Inherited from Exception.)

Extension Methods

Name Description
System_CAPS_pubmethod IsCriticalException()

Validates whether an exception is one of a predetermined list of critical exceptions that should never be handled by the framework. (Defined by DebugHelpers.)

System_CAPS_pubmethod RethrowCriticalException()

Throws a previously thrown exception that is not able to be handled. (Defined by DebugHelpers.)

Thread Safety

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

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top