PropertyValue.CatchExceptions 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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.