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)
Dim instance As ValidationMetadataException
<SerializableAttribute> _
Public Class ValidationMetadataException
Inherits MetadataException
[SerializableAttribute]
public class ValidationMetadataException : MetadataException
[SerializableAttribute]
public ref class ValidationMetadataException : public MetadataException
/** @attribute SerializableAttribute() */
public class ValidationMetadataException extends MetadataException
SerializableAttribute
public class ValidationMetadataException extends MetadataException
This exception should be thrown by all attributes that derive from ValidateArgumentsAttribute or ValidateEnumeratedArgumentsAttribute.
System.Object
System.Exception
System.SystemException
System.Management.Automation.RuntimeException
System.Management.Automation.MetadataException
System.Management.Automation.ValidationMetadataException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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