ICommandBindingError Event

Occurs when an exception is thrown during the command execution. The Error property returns the Exception, which is about to be thrown, and the Context property gets a hint about the source of the error. You can set the Handled property to to suppress the error, but critical exceptions (OutOfMemoryException, StackOverflowException) cannot be handled by this event.

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
event EventHandler<CommandBindingErrorEventArgs> Error

Value

EventHandlerCommandBindingErrorEventArgs

See Also