PSObjectTypeDescriptor.GettingValueException Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when there was an exception getting the value of a property.
public:
event EventHandler<System::Management::Automation::GettingValueExceptionEventArgs ^> ^ GettingValueException;
public event EventHandler<System.Management.Automation.GettingValueExceptionEventArgs> GettingValueException;
member this.GettingValueException : EventHandler<System.Management.Automation.GettingValueExceptionEventArgs>
Public Custom Event GettingValueException As EventHandler(Of GettingValueExceptionEventArgs)
Public Event GettingValueException As EventHandler(Of GettingValueExceptionEventArgs)
Event Type
Remarks
The ShouldThrow property of the GettingValueExceptionEventArgs allows subscribers to prevent the exception from being thrown.