Delen via


KpiService.Publish Method (TeamFoundationRequestContext, String, KpiMetric)

This will produce a Kpi trace for the passed in metric.

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, _
    metric As KpiMetric _
)
public void Publish(
    TeamFoundationRequestContext requestContext,
    string area,
    KpiMetric metric
)
public:
void Publish(
    TeamFoundationRequestContext^ requestContext, 
    String^ area, 
    KpiMetric^ metric
)
member Publish : 
        requestContext:TeamFoundationRequestContext * 
        area:string * 
        metric:KpiMetric -> unit
public function Publish(
    requestContext : TeamFoundationRequestContext, 
    area : String, 
    metric : KpiMetric
)

Parameters

.NET Framework Security

See Also

Reference

KpiService Class

Publish Overload

Microsoft.TeamFoundation.Framework.Server Namespace