Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the delegate for the event handler for command events.
Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'Declaration
Public Delegate Function CommandEventHandler ( _
    sender As Object, _
    e As CommandEventArgs _
) As CommandResult
public delegate CommandResult CommandEventHandler(
    Object sender,
    CommandEventArgs e
)
public delegate CommandResult^ CommandEventHandler(
    Object^ sender, 
    CommandEventArgs^ e
)
type CommandEventHandler = 
    delegate of  
        sender:Object * 
        e:CommandEventArgs -> CommandResult
JScript does not support delegates.
Parameters
- sender 
 Type: System.Object- The object that initiated the event. 
- e 
 Type: Microsoft.VisualStudio.TestTools.Vsip.CommandEventArgs- A CommandEventArgs object. 
Return Value
Type: Microsoft.VisualStudio.TestTools.Vsip.CommandResult
The event handler for command events.