Share via


GettingValueExceptionEventArgs.ShouldThrow Property

Definition

Gets and sets a Boolean indicating if the GetValue 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

Applies to