PSObjectTypeDescriptor.SettingValueException PSObjectTypeDescriptor.SettingValueException PSObjectTypeDescriptor.SettingValueException Event

Definition

Occurs when there was an exception setting the value of a property.

public event EventHandler<System.Management.Automation.SettingValueExceptionEventArgs> SettingValueException;
member this.SettingValueException : EventHandler<System.Management.Automation.SettingValueExceptionEventArgs> 
Public Event SettingValueException As EventHandler(Of SettingValueExceptionEventArgs) 

Remarks

The ShouldThrow property of the SettingValueExceptionEventArgs allows subscribers to prevent the exception from being thrown.

Applies to