Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
'Usage
Dim instance As DesignerView
Dim handler As EventHandler(Of CommandExceptionEventArgs)
AddHandler instance.CommandException, handler
public event EventHandler<CommandExceptionEventArgs> CommandException
public:
event EventHandler<CommandExceptionEventArgs^>^ CommandException {
void add (EventHandler<CommandExceptionEventArgs^>^ value);
void remove (EventHandler<CommandExceptionEventArgs^>^ value);
}
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