Freigeben über


PSObjectTypeDescriptionProvider.SettingValueException Event

Definition

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.

Applies to