Share via


LoadTestTuip.GetCommandHandler Method (CommandID, CommandID)

 

Returns the command event handler from the specified context menu that contains the specified command.

Namespace:   Microsoft.VisualStudio.TestTools.LoadTest
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestPackage (in Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll)

Syntax

public CommandEventHandler GetCommandHandler(
    CommandID contextMenuId,
    CommandID commandId
)
public:
virtual CommandEventHandler^ GetCommandHandler(
    CommandID^ contextMenuId,
    CommandID^ commandId
) sealed
abstract GetCommandHandler : 
        contextMenuId:CommandID *
        commandId:CommandID -> CommandEventHandler
override GetCommandHandler : 
        contextMenuId:CommandID *
        commandId:CommandID -> CommandEventHandler
Public Function GetCommandHandler (
    contextMenuId As CommandID,
    commandId As CommandID
) As CommandEventHandler

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Vsip.CommandEventHandler

A command event handler, if found; otherwise, null.

Implements

ICommandProvider.GetCommandHandler(CommandID, CommandID)

See Also

LoadTestTuip Class
Microsoft.VisualStudio.TestTools.LoadTest Namespace

Return to top