KpiService.Publish Method (TeamFoundationRequestContext, String, Guid, String, String, Double)
This will produce a Kpi trace for the passed in metric data.
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, _
name As String, _
value As Double _
)
public void Publish(
TeamFoundationRequestContext requestContext,
string area,
Guid hostId,
string scope,
string name,
double value
)
public:
void Publish(
TeamFoundationRequestContext^ requestContext,
String^ area,
Guid hostId,
String^ scope,
String^ name,
double value
)
member Publish :
requestContext:TeamFoundationRequestContext *
area:string *
hostId:Guid *
scope:string *
name:string *
value:float -> unit
public function Publish(
requestContext : TeamFoundationRequestContext,
area : String,
hostId : Guid,
scope : String,
name : String,
value : double
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- area
Type: System.String
- hostId
Type: System.Guid
- scope
Type: System.String
- name
Type: System.String
- value
Type: System.Double
.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.