TeamFoundationPerformanceService.RegisterCounters Method
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub RegisterCounters ( _
performanceCategory As String, _
counterNames As IEnumerable(Of String) _
)
public void RegisterCounters(
string performanceCategory,
IEnumerable<string> counterNames
)
public:
void RegisterCounters(
String^ performanceCategory,
IEnumerable<String^>^ counterNames
)
member RegisterCounters :
performanceCategory:string *
counterNames:IEnumerable<string> -> unit
public function RegisterCounters(
performanceCategory : String,
counterNames : IEnumerable<String>
)
Parameters
- performanceCategory
Type: System.String
- counterNames
Type: System.Collections.Generic.IEnumerable<String>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.