Partager via


TeamFoundationRequestContext.IsTracing Method

Returns true if tracing is enabled for the supplied arguments.

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

Syntax

'Declaration
Public Overridable Function IsTracing ( _
    tracepoint As Integer, _
    level As TraceLevel, _
    area As String, _
    layer As String _
) As Boolean
public virtual bool IsTracing(
    int tracepoint,
    TraceLevel level,
    string area,
    string layer
)
public:
virtual bool IsTracing(
    int tracepoint, 
    TraceLevel level, 
    String^ area, 
    String^ layer
)
abstract IsTracing : 
        tracepoint:int * 
        level:TraceLevel * 
        area:string * 
        layer:string -> bool  
override IsTracing : 
        tracepoint:int * 
        level:TraceLevel * 
        area:string * 
        layer:string -> bool
public function IsTracing(
    tracepoint : int, 
    level : TraceLevel, 
    area : String, 
    layer : String
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace