DesignerView.CommandException Event
Occurs when an exception is raised in a command.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Event CommandException As EventHandler(Of CommandExceptionEventArgs)
public event EventHandler<CommandExceptionEventArgs> CommandException
public:
event EventHandler<CommandExceptionEventArgs^>^ CommandException {
void add (EventHandler<CommandExceptionEventArgs^>^ value);
void remove (EventHandler<CommandExceptionEventArgs^>^ value);
}
member CommandException : IEvent<EventHandler<CommandExceptionEventArgs>,
CommandExceptionEventArgs>
JScript does not support events.
Remarks
If no handler is attached to this event, the command’s exception is unhandled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace