Back to Devexpress

SpellCheckerBase.UnhandledException Event

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerbase-a7c9440c.md

latest2.5 KB
Original Source

SpellCheckerBase.UnhandledException Event

Occurs when an unhandled system exception fires.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.SpellChecker.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public event SpellCheckerUnhandledExceptionEventHandler UnhandledException
vb
Public Event UnhandledException As SpellCheckerUnhandledExceptionEventHandler

Event Data

The UnhandledException event's data class is SpellCheckerUnhandledExceptionEventArgs. The following properties provide information specific to this event:

PropertyDescription
ExceptionGets the exception which triggers the SpellCheckerBase.UnhandledException event.
HandledGets or sets whether the exception should be propagated upwards.

Remarks

If an application tries to load several dictionaries of highly inflective languages (like Russian, Czech or Serbian), the system resources may be exhausted, resulting in a stalled application, and finally, in an unhandled exception. To handle this situation, subscribe to the UnhandledException event.

You can remove the problematic dictionary from the dictionary list and continue loading dictionaries.

See Also

DictionaryLoaded

AfterLoadDictionaries

BeforeLoadDictionaries

SpellCheckerBase Class

SpellCheckerBase Members

DevExpress.XtraSpellChecker Namespace