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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.