Leer en inglés

Compartir a través de


MetadataException Class

Definition

Defines the exception thrown for all Metadata errors.

C++
public ref class MetadataException : System::Management::Automation::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

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0