ValidationMetadataException Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the exception thrown for all Validate attributes.
public ref class ValidationMetadataException : System::Management::Automation::MetadataException[System.Serializable]
public class ValidationMetadataException : System.Management.Automation.MetadataExceptionpublic class ValidationMetadataException : System.Management.Automation.MetadataException[<System.Serializable>]
type ValidationMetadataException = class
    inherit MetadataExceptiontype ValidationMetadataException = class
    inherit MetadataExceptionPublic Class ValidationMetadataException
Inherits MetadataException- Inheritance
- Attributes
Constructors
| ValidationMetadataException() | Initializes a new instance of ValidationMetadataException with the message set to typeof(ValidationMetadataException).FullName. | 
| ValidationMetadataException(SerializationInfo, StreamingContext) | 
				Obsolete.
			 Initializes a new instance of ValidationMetadataException with serialization parameters. | 
| ValidationMetadataException(String, Exception) | Initializes a new instance of ValidationMetadataException setting the message and innerException. | 
| ValidationMetadataException(String) | Initializes a new instance of ValidationMetadataException setting the message. | 
Properties
| ErrorRecord | Additional information about the error.(Inherited from RuntimeException) | 
| WasThrownFromThrowStatement | (Inherited from RuntimeException) | 
Methods
| GetObjectData(SerializationInfo, StreamingContext) | Serializer for ISerializable(Inherited from RuntimeException) |