ValidationMetadataException ValidationMetadataException ValidationMetadataException Class

Definition

Defines the exception thrown for all Validate attributes

public class ValidationMetadataException : System.Management.Automation.MetadataException
type ValidationMetadataException = class
    inherit MetadataException
Public Class ValidationMetadataException
Inherits MetadataException
Inheritance

Constructors

ValidationMetadataException() ValidationMetadataException() ValidationMetadataException()

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

ValidationMetadataException(SerializationInfo, StreamingContext) ValidationMetadataException(SerializationInfo, StreamingContext) ValidationMetadataException(SerializationInfo, StreamingContext)

Initializes a new instance of ValidationMetadataException with serialization parameters

ValidationMetadataException(String) ValidationMetadataException(String) ValidationMetadataException(String)

Initializes a new instance of ValidationMetadataException setting the message

ValidationMetadataException(String, Exception) ValidationMetadataException(String, Exception) ValidationMetadataException(String, Exception)

Initializes a new instance of ValidationMetadataException setting the message and innerException

Properties

ErrorRecord ErrorRecord ErrorRecord Inherited from RuntimeException
StackTrace StackTrace StackTrace Inherited from RuntimeException
WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) Inherited from RuntimeException

Applies to