Bagikan melalui


TeamFoundationServiceHost Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHost
    Microsoft.TeamFoundation.Framework.Server.ApplicationServiceHost
    Microsoft.TeamFoundation.Framework.Server.CollectionServiceHost

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

Syntax

'Declaration
Public MustInherit Class TeamFoundationServiceHost _
    Implements IDisposable
public abstract class TeamFoundationServiceHost : IDisposable
public ref class TeamFoundationServiceHost abstract : IDisposable
[<AbstractClass>]
type TeamFoundationServiceHost =  
    class
        interface IDisposable
    end
public abstract class TeamFoundationServiceHost implements IDisposable

The TeamFoundationServiceHost type exposes the following members.

Constructors

  Name Description
Protected method TeamFoundationServiceHost

Top

Properties

  Name Description
Public property ActiveRequests
Public property Culture
Public property DataDirectory
Public property HasDatabaseAccess
Public property InstanceId
Public property IsProduction
Public property Items
Protected property LastUse
Public property Name
Protected property NumberOfActiveRequests
Public property ParentServiceHost
Public property PhysicalDirectory
Public property PlugInDirectory
Protected property RequestsDrainedEvent
Public property ServiceHostContext
Public property StartTime
Public property StaticContentDirectory
Public property Status
Public property StatusReason
Public property SystemRequestContext
Public property TopmostServiceHost
Public property VirtualDirectory

Top

Methods

  Name Description
Public method BeginRequest
Protected method BeginStatusChange
Protected method CancelAllRequests
Public method CreateServicingContext
Public method CreateSystemContext
Public method CreateUserContext
Public method Dispose()
Protected method Dispose(Boolean)
Public method EndRequest
Protected method EndStatusChange
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.)
Protected method GetDataDirectoryRoot
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RaisePropertiesChanged
Protected method RaiseStatusChanged
Public method ReportException
Protected method SetHostStatus
Protected method StartServices
Protected method StopServices
Protected method SuspendServices
Public method ThrowIfShutdown
Public method ToString() (Overrides Object.ToString().)
Public methodStatic member ToString(Guid, String)
Public methodStatic member ToString(String, String)
Protected method WakeUp

Top

Events

  Name Description
Public event PropertiesChanged
Public event StatusChanged

Top

Fields

  Name Description
Protected fieldStatic member s_hostSecurityNamespace

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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace