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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.