Share via


TeamFoundationRequestContext.Trace Method (Int32, TraceLevel, String, array<Object )

This form of [Trace] should generally be avoided because the omission of area and level means that these types of trace messages are not blocked by common trace filters.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Overridable Sub Trace ( _
    tracepoint As Integer, _
    level As TraceLevel, _
    format As String, _
    ParamArray args As Object() _
)
public virtual void Trace(
    int tracepoint,
    TraceLevel level,
    string format,
    params Object[] args
)
public:
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
public function Trace(
    tracepoint : int, 
    level : TraceLevel, 
    format : String, 
    ... args : Object[]
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Trace Overload

Microsoft.TeamFoundation.Framework.Server Namespace