PSObjectTypeDescriptionProvider.SettingValueException Event

Definition

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

public event EventHandler<System.Management.Automation.SettingValueExceptionEventArgs> SettingValueException;

Remarks

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