Share via


KpiService.Publish Method (TeamFoundationRequestContext, String, Guid, 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, _
    hostId As Guid, _
    scope As String, _
    metrics As List(Of KpiMetric) _
)
public void Publish(
    TeamFoundationRequestContext requestContext,
    string area,
    Guid hostId,
    string scope,
    List<KpiMetric> metrics
)
public:
void Publish(
    TeamFoundationRequestContext^ requestContext, 
    String^ area, 
    Guid hostId, 
    String^ scope, 
    List<KpiMetric^>^ metrics
)
member Publish : 
        requestContext:TeamFoundationRequestContext * 
        area:string * 
        hostId:Guid * 
        scope:string * 
        metrics:List<KpiMetric> -> unit
public function Publish(
    requestContext : TeamFoundationRequestContext, 
    area : String, 
    hostId : Guid, 
    scope : String, 
    metrics : List<KpiMetric>
)

Parameters

.NET Framework Security

See Also

Reference

KpiService Class

Publish Overload

Microsoft.TeamFoundation.Framework.Server Namespace