Udostępnij za pośrednictwem


PSObjectTypeDescriptionProvider.GettingValueException Event

Definition

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.

Applies to