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 | |
---|---|---|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | Gets a string representation of the current exception. Equivalent to ToString(). (Overrides Exception.Message.) |
|
SendingMessage | Gets the base message that threw the exception. (Inherited from MessageException.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
|
ValidationExceptions | Gets a collection of exceptions that were generated by message validation. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | Gets object data for serialization. (Overrides MessageException.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType() | (Inherited from Exception.) |
|
ToString() | Creates and returns a string representation of the current exception. (Overrides Exception.ToString().) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
|
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