Share via


MetadataException Class

Definition

Defines the exception thrown for all Metadata errors.

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

Constructors

MetadataException()

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

MetadataException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of MetadataException with serialization parameters.

MetadataException(String, Exception)

Initializes a new instance of MetadataException setting the message and innerException.

MetadataException(String)

Initializes a new instance of MetadataException 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