Delen via


TeamFoundationServiceHostStatus Enumeration

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

Syntax

'Declaration
Public Enumeration TeamFoundationServiceHostStatus
public enum TeamFoundationServiceHostStatus
public enum class TeamFoundationServiceHostStatus
type TeamFoundationServiceHostStatus
public enum TeamFoundationServiceHostStatus

Members

Member name Description
Paused Paused is the same as stopped except it does not release the resources associated with the host. It keeps the host loaded, not notifying the services of the state change.

Pausing When the host is paused, it first transitions to the pausing state as active requests are being processed; it will not accept new requests when in this state.

Started Started means the host is ready to accept requests.

Starting Starting means the host is preparing to accept requests.

Stopped Stopped means the host is not currently processing any requests, and when clients make requests that target this host, the requests will be denied before they are sent to the services they are targeting. If the host was Started or Paused when the state was switched to Stopped, any resources associated with the host are disposed of and the service host is shut down.

Stopping When the host is stopped, it first transitions to the stopping state as active requests are being processed; it will not accept new requests when in this state.

See Also

Reference

Microsoft.TeamFoundation.Framework.Common Namespace