This documentation is archived and is not being maintained.

TeamFoundationHostManagementService Class

System::Object
  Microsoft.TeamFoundation.Framework.Server::TeamFoundationHostManagementService

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationJobService))]
public ref class TeamFoundationHostManagementService sealed : IDisposable, 
	ITeamFoundationHostManagementService, ITeamFoundationService

The TeamFoundationHostManagementService type exposes the following members.

  NameDescription
Public propertyDeploymentTypeIndicates where the deployment type is OnPremises, DevFabric, Cloud, or Unknown.
Public propertyHostDormancySeconds
Public propertyIsHostedIndicates whether the DeploymentType is Cloud or DevFabric.
Top

  NameDescription
Public methodBeginRequest
Public methodBeginUserRequest
Public methodCreateServiceHostCreates a service host definition using the provided properties.
Public methodDeleteServiceHost(TeamFoundationRequestContext, Guid)Deletes a service host from the server.
Public methodDeleteServiceHost(TeamFoundationRequestContext, Guid, UnusedDatabaseReasonNotUsed)
Public methodDetectInactiveProcessesDetects and removes inactive processes—processes whose lease has expired and they have not shut down cleanly.
Public methodDispose
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetConfigDataTierTime
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetHostIdFromPath(TeamFoundationRequestContext, String)
Public methodGetHostIdFromPath(TeamFoundationRequestContext, String, Boolean)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodPingHostProcessUsed to send a ping request to a process that is operating on this application. This request is sent by means of an SQL notification. If the process is running correctly and SQL notifications are being processed, the ping should return successfully in a short time. If notifications are being processed by means of polling or the process has lost connection to the database, it may take longer or never finish.
Public methodQueryChildrenServiceHostPropertiesCached
Public methodQueryExecutionState(TeamFoundationRequestContext)Queries for all registered service hosts, processes, and host instances.
Public methodQueryExecutionState(TeamFoundationRequestContext, Guid)Queries for one or all registered service hosts, and related processes and host instances.
Public methodQueryHostReadyStateQueries the host ready state.
Public methodQueryServiceHostProperties(TeamFoundationRequestContext, Guid)Queries for service host properties using the provided host ID.This will not return any details about this host, and it will not include any children.
Public methodQueryServiceHostProperties(TeamFoundationRequestContext, Guid, ServiceHostFilterFlags)Queries for service host properties using the provided host ID. If children are included, the output list will contain properties for all child hosts of the requested service host.
Public methodQueryServiceHostPropertiesCached
Public methodStartHost
Public methodStop
Public methodStopHostSynchronously stops the service host in all active processes.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateServiceHostUpdates the service host definition using the provided properties.
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.
Show: