TeamFoundationPerformanceService.RegisterCounterSet Method

Used to define a counter set category.

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

Syntax

'Declaration
Public Sub RegisterCounterSet ( _
    requestContext As TeamFoundationRequestContext, _
    counterSetId As Guid, _
    counterSetInstanceName As String, _
    counters As CounterInfo() _
)
public void RegisterCounterSet(
    TeamFoundationRequestContext requestContext,
    Guid counterSetId,
    string counterSetInstanceName,
    CounterInfo[] counters
)
public:
void RegisterCounterSet(
    TeamFoundationRequestContext^ requestContext, 
    Guid counterSetId, 
    String^ counterSetInstanceName, 
    array<CounterInfo^>^ counters
)
member RegisterCounterSet : 
        requestContext:TeamFoundationRequestContext * 
        counterSetId:Guid * 
        counterSetInstanceName:string * 
        counters:CounterInfo[] -> unit
public function RegisterCounterSet(
    requestContext : TeamFoundationRequestContext, 
    counterSetId : Guid, 
    counterSetInstanceName : String, 
    counters : CounterInfo[]
)

Parameters

  • counterSetId
    Type: System.Guid

    CounterSet GUID from the performance counter manifest, for example, TfsAtPerfManifest.xml.

.NET Framework Security

See Also

Reference

TeamFoundationPerformanceService Class

Microsoft.TeamFoundation.Framework.Server Namespace