Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Queries for one or all registered service hosts, and related processes and host instances.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryExecutionState ( _
requestContext As TeamFoundationRequestContext, _
hostId As Guid _
) As TeamFoundationExecutionState
public TeamFoundationExecutionState QueryExecutionState(
TeamFoundationRequestContext requestContext,
Guid hostId
)
public:
virtual TeamFoundationExecutionState^ QueryExecutionState(
TeamFoundationRequestContext^ requestContext,
Guid hostId
) sealed
abstract QueryExecutionState :
requestContext:TeamFoundationRequestContext *
hostId:Guid -> TeamFoundationExecutionState
override QueryExecutionState :
requestContext:TeamFoundationRequestContext *
hostId:Guid -> TeamFoundationExecutionState
public final function QueryExecutionState(
requestContext : TeamFoundationRequestContext,
hostId : Guid
) : TeamFoundationExecutionState
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextA request context for querying the configuration database.
hostId
Type: System.GuidThe service host to query for. Use Empty to query for all service hosts.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationExecutionState
A QueryExecutionState that contains the service hosts, processes, and host instances.
Implements
ITeamFoundationHostManagementService.QueryExecutionState(TeamFoundationRequestContext, Guid)
.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.