Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CommandHandler Class

Visual Studio 2012

Object
  Microsoft.VisualStudio.TeamFoundation.CommandHandler

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)
public class CommandHandler : IOleCommandTarget

The CommandHandler type exposes the following members.

  NameDescription
Public methodAddSecondaryCommandHandlerAdd a command handler to route an unsupported command.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExec
Public methodExecCommand
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodHandleExceptionPass the exception to a handler if available or fall back to default handling.
Public methodIsQueryParameterListIdentifies Exec call, that should specify list of allowed parameters instead of performing the actual operation. http://blogs.msdn.com/dr._ex/archive/2005/03/16/396877.aspx
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnQueryStatusCalled when command status is being queried.
Public methodQueryStatus
Public methodQueryStatusCommand
Public methodRegister(Guid, VSConstants.VSStd97CmdID, CommandHandler.HierarchyStatusCallback, CommandHandler.HierarchyExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation)Register a VsUIHierarchy command.
Public methodRegister(Guid, VSConstants.VSStd97CmdID, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation)Register a VS command.
Public methodRegister(Guid, Int32, CommandHandler.HierarchyStatusCallback, CommandHandler.HierarchyExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation)Register a VsUIHierarchy command.
Public methodRegister(Guid, Int32, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation)Register a command.
Public methodRegister(Guid, Int32, CommandHandler.StatusCallback, CommandHandler.ExecWithInOutCallback, CommandHandler.Command.StatesDuringLongRunningOperation)Register a command.
Public methodRegister(Guid, Int32, Int32, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation)Register a range of commands.
Public methodRemoveSecondaryCommandHandlerRemove a previously added secondary command handler.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.