SettingValueExceptionEventArgs
Class
Definition
Serves as the arguments for events triggered by exceptions in the SetValue method of PSObjectPropertyDescriptor
public class SettingValueExceptionEventArgs : EventArgs
- Inheritance
-
SettingValueExceptionEventArgs
Remarks
The sender of this event is an object of type PSObjectPropertyDescriptor. It is permitted to subclass SettingValueExceptionEventArgs but there is no established scenario for doing this, nor has it been tested.
Properties
| Exception |
Gets the exception that triggered the associated event. |
| ShouldThrow |
Gets and sets a Boolean indicating if the SetValue method of PSObjectPropertyDescriptor should throw the exception associated with this event. |