Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GettingValueExceptionEventArgs Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents the arguments for events that are triggered when the GetValue method of a PSObjectPropertyDescriptor object throws an exception.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System::Object
  System::EventArgs
    System.Management.Automation::GettingValueExceptionEventArgs

public ref class GettingValueExceptionEventArgs : EventArgs

NameDescription
System_CAPS_pubpropertyException

Gets the exception that triggered the event.

System_CAPS_pubpropertyShouldThrow

Gets and sets a Boolean value that indicates whether the GetValue method should throw the exception associated with this event.

System_CAPS_pubpropertyValueReplacement

Gets and sets the value that replaces what is returned by the GetValue method.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

The sender of this event is an object of type PSObjectPropertyDescriptor. It is permitted to subclass GettingValueExceptionEventArgs but there is no established scenario for doing this, nor has it been tested.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: