TeamFoundationPerformanceService.RegisterCounterSet 方法

用于定义计数器集的类别。

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
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
)

参数

  • counterSetId
    类型:System.Guid
    从清单的性能计数器的 CounterSet GUID,例如,TfsAtPerfManifest.xml。

.NET Framework 安全性

请参阅

参考

TeamFoundationPerformanceService 类

Microsoft.TeamFoundation.Framework.Server 命名空间