Exception Event Args
Serves as the arguments for events triggered by exceptions in the GetValue method of PSObjectPropertyDescriptor
public class GettingValueExceptionEventArgs : EventArgs
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.
Gets the Exception that triggered the associated event.
Gets and sets the value that will serve as a replacement to the return of the GetValue method of PSObjectPropertyDescriptor. If this property is not set to a value other than null then the exception associated with this event is thrown.