Muokkaa

Jaa


PropertyValue.CatchExceptions Property

Definition

Gets a value that indicates whether exceptions thrown during property value getting and setting should be caught or should be propagated directly to the caller.

protected:
 virtual property bool CatchExceptions { bool get(); };
protected virtual bool CatchExceptions { get; }
member this.CatchExceptions : bool
Protected Overridable ReadOnly Property CatchExceptions As Boolean

Property Value

true if exceptions are caught; false if exceptions are propagated to the caller.

Remarks

This is based upon whether there are any subscribers to the PropertyValueException event.

Applies to