TeamFoundationServiceHost Methods

Include Protected Members
Include Inherited Members

The TeamFoundationServiceHost type exposes the following members.

Methods

  Name Description
Public method ApplicationEndRequest End an application request. Processes request filters, removes the request from the set of active requests, and disposes the request context.
Public method BeginRequest Add a request context to the set of currently active requests (Overrides ServiceHost<T>.BeginRequest(T).)
Protected method BeginStatusChange Begins a status change operation on the current host if applicable.
Protected method CheckIfDisposed Verify the host is still a valid host object and hasn't been disposed before we start using it. (Inherited from ServiceHost<T>.)
Public method CreateServicingContext
Public method Dispose() (Inherited from ServiceHost<T>.)
Protected method Dispose(Boolean) (Overrides ServiceHost<T>.Dispose(Boolean).)
Public method EndRequest Remove a request context to the set of currently active requests (Overrides ServiceHost<T>.EndRequest(T).)
Protected method EndStatusChange Completes a status change operation by transitioning the state to the next valid state. Stopping goes to Stopped, Starting goes to Started, and Pausing goes to Paused.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCulture The Application Culture is the installed culture for this team foundation application.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method InitializeMetabaseLegacy Initialize the metabase the old way. We still need to keep this method to support online upgrade, when the request restriction registry keys are not yet persisted to the TFS registry table. Note: DO NOT add new request restrictions to this method.
Public method Is Is can be used to determine whether a service host supports the features of a given TeamFoundationHostType. One service host can support multiple host types.
Public method IsOnly ServiceHosts can be multiple types at the same time, an example is the deployment service host may be combined with an application service host. This method will make sure that the host is only the type specified and not combined with other types.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MonitorClientDisconnects
Protected method MonitorServiceHostRequests
Protected method OiHeartbeat
Protected method RaisePropertiesChanged
Protected method RaiseStatusChanged
Public method ReportException
Protected method SetHostStatus This method is for internal use only.
Protected method StartServices Loads the core services in the appropriate order.
Protected method StopServices Shuts down all active services for the current service host.
Public method ThrowIfShutdown Throws an exception if the host is currently paused or stopped.
Public method ToString() (Overrides Object.ToString().)
Public methodStatic member ToString(Guid, String)
Public methodStatic member ToString(String, String)

Top

See Also

Reference

TeamFoundationServiceHost Class

Microsoft.TeamFoundation.Framework.Server Namespace