Lire en anglais

Partager via


PropertyNotFoundException Class

Definition

Defines the exception thrown for errors getting the value of properties.

C++
public ref class PropertyNotFoundException : System::Management::Automation::ExtendedTypeSystemException
Inheritance
Attributes

Constructors

PropertyNotFoundException()

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

PropertyNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of GetValueException with serialization parameters.

PropertyNotFoundException(String, Exception)

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

PropertyNotFoundException(String)

Initializes a new instance of GetValueException setting the message.

Properties

ErrorRecord

Additional information about the error.

(Inherited from RuntimeException)
WasThrownFromThrowStatement (Inherited from RuntimeException)

Methods

Applies to

Produit Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0