System.Management.Automatio ...


ValidationMetadataException Class
The exception thrown when an error occurs while validating input for any validation attribute.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage

Dim instance As ValidationMetadataException
Syntax

Visual Basic
<SerializableAttribute> _
Public Class ValidationMetadataException
    Inherits MetadataException
C#
[SerializableAttribute] 
public class ValidationMetadataException : MetadataException
C++
[SerializableAttribute] 
public ref class ValidationMetadataException : public MetadataException
J#
/** @attribute SerializableAttribute() */ 
public class ValidationMetadataException extends MetadataException
JScript
SerializableAttribute 
public class ValidationMetadataException extends MetadataException
Remarks

This exception should be thrown by all attributes that derive from ValidateArgumentsAttribute or ValidateEnumeratedArgumentsAttribute.


Inheritance Hierarchy

System.Object
   System.Exception
     System.SystemException
       System.Management.Automation.RuntimeException
         System.Management.Automation.MetadataException
          System.Management.Automation.ValidationMetadataException
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.
Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2
See Also

Page view tracker