PSObjectTypeDescriptionProvider.SettingValueException 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 setting the value of a property.
public:
event EventHandler<System::Management::Automation::SettingValueExceptionEventArgs ^> ^ SettingValueException;
public event EventHandler<System.Management.Automation.SettingValueExceptionEventArgs> SettingValueException;
member this.SettingValueException : EventHandler<System.Management.Automation.SettingValueExceptionEventArgs>
Public Custom Event SettingValueException As EventHandler(Of SettingValueExceptionEventArgs)
Public Event SettingValueException As EventHandler(Of SettingValueExceptionEventArgs)
Event Type
Remarks
The ShouldThrow property of the SettingValueExceptionEventArgs allows subscribers to prevent the exception from being thrown.