Push trace messages to the trace service associated with the request context.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Overridable Sub Trace ( _
    tracepoint As Integer, _
    level As TraceLevel, _
    format As String, _
    ParamArray args As Object() _
)
protected virtual void Trace(
    int tracepoint,
    TraceLevel level,
    string format,
    params Object[] args
)
protected:
virtual void Trace(
    int tracepoint, 
    TraceLevel level, 
    String^ format, 
    ... array<Object^>^ args
)
abstract Trace : 
        tracepoint:int * 
        level:TraceLevel * 
        format:string * 
        args:Object[] -> unit  
override Trace : 
        tracepoint:int * 
        level:TraceLevel * 
        format:string * 
        args:Object[] -> unit
protected function Trace(
    tracepoint : int, 
    level : TraceLevel, 
    format : String, 
    ... args : Object[]
)
Parameters
- tracepoint 
 Type: System.Int32- A unique number from a range reserved in TraceDefinition.cs that provides precise control over the trace level. 
- level 
 Type: System.Diagnostics.TraceLevel- Coarse grained control over the trace level. 
- format 
 Type: System.String- A format string that is the trace message. 
- args 
 Type: array<System.Object[]- Arguments for the format string. 
.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.