KpiService.Publish Method (TeamFoundationRequestContext, String, 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, _
scope As String, _
metric As KpiMetric _
)
public void Publish(
TeamFoundationRequestContext requestContext,
string area,
string scope,
KpiMetric metric
)
public:
void Publish(
TeamFoundationRequestContext^ requestContext,
String^ area,
String^ scope,
KpiMetric^ metric
)
member Publish :
requestContext:TeamFoundationRequestContext *
area:string *
scope:string *
metric:KpiMetric -> unit
public function Publish(
requestContext : TeamFoundationRequestContext,
area : String,
scope : String,
metric : KpiMetric
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- area
Type: System.String
- scope
Type: System.String
- metric
Type: Microsoft.TeamFoundation.Framework.Server.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.