Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TeamFoundation.CommandHandler
Namespace: Microsoft.VisualStudio.TeamFoundation
Assembly: Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)
Syntax
'Declaration
Public Class CommandHandler _
Implements IOleCommandTarget
public class CommandHandler : IOleCommandTarget
public ref class CommandHandler : IOleCommandTarget
type CommandHandler =
class
interface IOleCommandTarget
end
public class CommandHandler implements IOleCommandTarget
The CommandHandler type exposes the following members.
Constructors
Top
Methods
.gif) |
AddSecondaryCommandHandler |
Add a command handler to route an unsupported command. |
.gif) |
Equals |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
.gif) |
Exec |
|
.gif) |
ExecCommand |
|
.gif) |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
.gif) |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
.gif) |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
.gif) |
HandleException |
Pass the exception to a handler if available or fall back to default handling. |
.gif) |
IsQueryParameterList |
Identifies Exec call, that should specify list of allowed parameters instead of performing the actual operation. https://blogs.msdn.com/dr._ex/archive/2005/03/16/396877.aspx |
.gif) |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
.gif) |
OnQueryStatus |
Called when command status is being queried. |
.gif) |
QueryStatus |
|
.gif) |
QueryStatusCommand |
|
.gif) |
Register(Guid, VSConstants.VSStd97CmdID, CommandHandler.HierarchyStatusCallback, CommandHandler.HierarchyExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation) |
Register a VsUIHierarchy command. |
.gif) |
Register(Guid, VSConstants.VSStd97CmdID, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation) |
Register a VS command. |
.gif) |
Register(Guid, Int32, CommandHandler.HierarchyStatusCallback, CommandHandler.HierarchyExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation) |
Register a VsUIHierarchy command. |
.gif) |
Register(Guid, Int32, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation) |
Register a command. |
.gif) |
Register(Guid, Int32, CommandHandler.StatusCallback, CommandHandler.ExecWithInOutCallback, CommandHandler.Command.StatesDuringLongRunningOperation) |
Register a command. |
.gif) |
Register(Guid, Int32, Int32, CommandHandler.StatusCallback, CommandHandler.ExecCallback, CommandHandler.Command.StatesDuringLongRunningOperation) |
Register a range of commands. |
.gif) |
RemoveSecondaryCommandHandler |
Remove a previously added secondary command handler. |
.gif) |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TeamFoundation Namespace