Aracılığıyla paylaş


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
public class ValidationMetadataException : System.Management.Automation.MetadataException
[<System.Serializable>]
type ValidationMetadataException = class
    inherit 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)
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)

Applies to