Share via


PropertyNotFoundException Class

Definition

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

public ref class PropertyNotFoundException : System::Management::Automation::ExtendedTypeSystemException
[System.Serializable]
public class PropertyNotFoundException : System.Management.Automation.ExtendedTypeSystemException
public class PropertyNotFoundException : System.Management.Automation.ExtendedTypeSystemException
[<System.Serializable>]
type PropertyNotFoundException = class
    inherit ExtendedTypeSystemException
type PropertyNotFoundException = class
    inherit ExtendedTypeSystemException
Public Class PropertyNotFoundException
Inherits 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

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

(Inherited from RuntimeException)

Applies to