Share via


MessageValidationException Class

 

Special exception class for handling rolled-up exceptions from message validation.

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.MessageValidationException

Syntax

[SerializableAttribute]
public sealed class MessageValidationException : MessageException
[SerializableAttribute]
public ref class MessageValidationException sealed : MessageException
<SerializableAttribute>
Public NotInheritable Class MessageValidationException
    Inherits MessageException

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

Gets a string representation of the current exception. Equivalent to ToString(). (Overrides Exception.Message.)

System_CAPS_pubproperty SendingMessage

Gets the base message that threw the exception. (Inherited from MessageException.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

System_CAPS_pubproperty ValidationExceptions

Gets a collection of exceptions that were generated by message validation.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(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 MessageException.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_pubmethod ToString()

Creates and returns a string representation of the current exception. (Overrides Exception.ToString().)

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