TeamFoundationHostManagementService Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationHostManagementService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationTaskService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationTracingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationJobService))> _
Public NotInheritable Class TeamFoundationHostManagementService _
Implements IDisposable, ITeamFoundationHostManagementService, ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationJobService))]
public sealed class TeamFoundationHostManagementService : IDisposable,
ITeamFoundationHostManagementService, ITeamFoundationService
[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
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLocationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTaskService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationTracingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationJobService))>]
type TeamFoundationHostManagementService =
class
interface IDisposable
interface ITeamFoundationHostManagementService
interface ITeamFoundationService
end
public final class TeamFoundationHostManagementService implements IDisposable, ITeamFoundationHostManagementService, ITeamFoundationService
The TeamFoundationHostManagementService type exposes the following members.
Properties
Name | Description | |
---|---|---|
DeploymentType | Indicates where the deployment type is OnPremises, DevFabric, Cloud, or Unknown. | |
HostDormancySeconds | ||
IsHosted | Indicates whether the DeploymentType is Cloud or DevFabric. |
Top
Methods
Name | Description | |
---|---|---|
BeginRequest | ||
BeginUserRequest | ||
CreateServiceHost | Creates a service host definition using the provided properties. | |
DeleteServiceHost(TeamFoundationRequestContext, Guid) | Deletes a service host from the server. | |
DeleteServiceHost(TeamFoundationRequestContext, Guid, UnusedDatabaseReasonNotUsed) | ||
DetectInactiveProcesses | Detects and removes inactive processes—processes whose lease has expired and they have not shut down cleanly. | |
Dispose | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetConfigDataTierTime | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHostIdFromPath(TeamFoundationRequestContext, String) | ||
GetHostIdFromPath(TeamFoundationRequestContext, String, Boolean) | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
PingHostProcess | Used 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. | |
QueryChildrenServiceHostPropertiesCached | ||
QueryExecutionState(TeamFoundationRequestContext) | Queries for all registered service hosts, processes, and host instances. | |
QueryExecutionState(TeamFoundationRequestContext, Guid) | Queries for one or all registered service hosts, and related processes and host instances. | |
QueryHostReadyState | Queries the host ready state. | |
QueryServiceHostProperties(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. | |
QueryServiceHostProperties(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. | |
QueryServiceHostPropertiesCached | ||
StartHost | ||
Stop | ||
StopHost | Synchronously stops the service host in all active processes. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateServiceHost | Updates the service host definition using the provided properties. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ITeamFoundationService.ServiceEnd | ||
ITeamFoundationService.ServiceStart |
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.