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.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
event EventHandler<CommandBindingErrorEventArgs> Error
Event Error As EventHandler(Of CommandBindingErrorEventArgs)
event EventHandler<CommandBindingErrorEventArgs^>^ Error {
void add (EventHandler<CommandBindingErrorEventArgs^>^ value);
void remove (EventHandler<CommandBindingErrorEventArgs^>^ value);
}
abstract Error : IEvent<EventHandler<CommandBindingErrorEventArgs>,
CommandBindingErrorEventArgs>
Value
EventHandlerCommandBindingErrorEventArgs