ValidationMetadataException Class

Definition

Defines the exception thrown for all Validate attributes

public ref class ValidationMetadataException : System::Management::Automation::MetadataException
[System.Serializable]
public class ValidationMetadataException : System.Management.Automation.MetadataException
type ValidationMetadataException = class
    inherit MetadataException
Public Class ValidationMetadataException
Inherits MetadataException
Inheritance
ValidationMetadataException
Attributes

Constructors

ValidationMetadataException()

Initializes a new instance of ValidationMetadataException with the message set to typeof(ValidationMetadataException).FullName

ValidationMetadataException(SerializationInfo, StreamingContext)

Initializes a new instance of ValidationMetadataException with serialization parameters

ValidationMetadataException(String)

Initializes a new instance of ValidationMetadataException setting the message

ValidationMetadataException(String, Exception)

Initializes a new instance of ValidationMetadataException setting the message and innerException

Properties

ErrorRecord

Additional information about the error

(Inherited from RuntimeException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to