TeamFoundationPerformanceService.RegisterMultiInstanceCounterSet 方法

RegisterMultiInstanceCounterSet 用于定义可以有多个计数器一个实例的计数器集类别

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

语法

声明
Public Sub RegisterMultiInstanceCounterSet ( _
    requestContext As TeamFoundationRequestContext, _
    counterSetId As Guid, _
    counterSetInstanceName As String, _
    counters As CounterInfo() _
)
public void RegisterMultiInstanceCounterSet(
    TeamFoundationRequestContext requestContext,
    Guid counterSetId,
    string counterSetInstanceName,
    CounterInfo[] counters
)

参数

  • counterSetId
    类型:System.Guid
    从清单的性能计数器的 CounterSet GUID (即,TfsAtPerfManifest.xml)
  • counterSetInstanceName
    类型:System.String
    定义是否设置为一个或多个计数器

.NET Framework 安全性

请参阅

参考

TeamFoundationPerformanceService 类

Microsoft.TeamFoundation.Framework.Server 命名空间