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
commandGroup
Type: System.Guidgroup
commandIdStart
Type: System.Int32command ID start range
commandIdEnd
Type: System.Int32command ID end range
statusCallback
Type: Microsoft.VisualStudio.TeamFoundation.CommandHandler.StatusCallbackquery status callback
execCallback
Type: Microsoft.VisualStudio.TeamFoundation.CommandHandler.ExecCallbackexec callback
state
Type: Microsoft.VisualStudio.TeamFoundation.CommandHandler.Command.StatesDuringLongRunningOperationcommand state during long-running operation
.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.