SettingValueExceptionEventArgs.ShouldThrow Property
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.
Gets and sets a Boolean indicating if the SetValue method of PSObjectPropertyDescriptor should throw the exception associated with this event.
public:
property bool ShouldThrow { bool get(); void set(bool value); };
public:
property bool ShouldThrow { bool get(); void set(bool value); };
public bool ShouldThrow { get; set; }
member this.ShouldThrow : bool with get, set
Public Property ShouldThrow As Boolean
Property Value
Remarks
The default value is true, indicating that the Exception associated with this event will be thrown.