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
- tracepoint
Type: System.Int32
- level
Type: System.Diagnostics.TraceLevel
- area
Type: System.String
- layer
Type: System.String
Return Value
Type: System.Boolean
.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.