Поделиться через


TeamFoundationPerformanceService Class

Intended to supply centralized performance API's.

Currently supported: Single instance performance counters.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationPerformanceService

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

Syntax

'Declaration
Public NotInheritable Class TeamFoundationPerformanceService _
    Implements ITeamFoundationService
public sealed class TeamFoundationPerformanceService : ITeamFoundationService
public ref class TeamFoundationPerformanceService sealed : ITeamFoundationService
[<Sealed>]
type TeamFoundationPerformanceService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationPerformanceService implements ITeamFoundationService

The TeamFoundationPerformanceService type exposes the following members.

Properties

  Name Description
Public property Item The indexer will return a set of performance counters for the given performance counter category.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
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.)
Public method RegisterCounterSet Used to define a counter set category.
Public method RegisterMultiInstanceCounterSet RegisterMultiInstanceCounterSet is used to define a counter set category which can have more than one instance of each counter
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace