KpiService.Publish Method (TeamFoundationRequestContext, String, List<KpiMetric>)
This will produce a Kpi trace for the passed in metrics.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub Publish ( _
requestContext As TeamFoundationRequestContext, _
area As String, _
metrics As List(Of KpiMetric) _
)
public void Publish(
TeamFoundationRequestContext requestContext,
string area,
List<KpiMetric> metrics
)
public:
void Publish(
TeamFoundationRequestContext^ requestContext,
String^ area,
List<KpiMetric^>^ metrics
)
member Publish :
requestContext:TeamFoundationRequestContext *
area:string *
metrics:List<KpiMetric> -> unit
public function Publish(
requestContext : TeamFoundationRequestContext,
area : String,
metrics : List<KpiMetric>
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- area
Type: System.String
- metrics
Type: System.Collections.Generic.List<KpiMetric>
.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.