Share via


CommandHandler.Register Method (Guid, Int32, Int32, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation)

Register a range of commands.

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
Public Sub Register ( _
    commandGroup As Guid, _
    commandIdStart As Integer, _
    commandIdEnd As Integer, _
    statusCallback As CommandHandler.StatusCallback, _
    execCallback As CommandHandler.ExecCallback, _
    state As CommandHandler.Command.StatesDuringLongRunningOperation _
)
public void Register(
    Guid commandGroup,
    int commandIdStart,
    int commandIdEnd,
    CommandHandler.StatusCallback statusCallback,
    CommandHandler.ExecCallback execCallback,
    CommandHandler.Command.StatesDuringLongRunningOperation state
)
public:
void Register(
    Guid commandGroup, 
    int commandIdStart, 
    int commandIdEnd, 
    CommandHandler::StatusCallback^ statusCallback, 
    CommandHandler::ExecCallback^ execCallback, 
    CommandHandler::Command::StatesDuringLongRunningOperation state
)
member Register : 
        commandGroup:Guid * 
        commandIdStart:int * 
        commandIdEnd:int * 
        statusCallback:CommandHandler.StatusCallback * 
        execCallback:CommandHandler.ExecCallback * 
        state:CommandHandler.Command.StatesDuringLongRunningOperation -> unit
public function Register(
    commandGroup : Guid, 
    commandIdStart : int, 
    commandIdEnd : int, 
    statusCallback : CommandHandler.StatusCallback, 
    execCallback : CommandHandler.ExecCallback, 
    state : CommandHandler.Command.StatesDuringLongRunningOperation
)

Parameters

.NET Framework Security

See Also

Reference

CommandHandler Class

Register Overload

Microsoft.VisualStudio.TeamFoundation Namespace