CommandHandler.OnQueryStatus Method
Called when command status is being queried.
Namespace: Microsoft.VisualStudio.TeamFoundation
Assembly: Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)
Syntax
'Declaration
Protected Overridable Function OnQueryStatus ( _
command As CommandHandler.Command, _
commandId As Integer _
) As Boolean
protected virtual bool OnQueryStatus(
CommandHandler.Command command,
int commandId
)
protected:
virtual bool OnQueryStatus(
CommandHandler::Command^ command,
int commandId
)
abstract OnQueryStatus :
command:CommandHandler.Command *
commandId:int -> bool
override OnQueryStatus :
command:CommandHandler.Command *
commandId:int -> bool
protected function OnQueryStatus(
command : CommandHandler.Command,
commandId : int
) : boolean
Parameters
command
Type: Microsoft.VisualStudio.TeamFoundation.CommandHandler.Commandcommand
commandId
Type: System.Int32command ID
Return Value
Type: System.Boolean
indicates whether the status was successfully queried
.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.