TeamFoundationTrace.IsTracing Method (TraceType)
Checks whether tracing is enabled at any level for the specified category.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Function IsTracing ( _
traceCategory As TraceType _
) As Boolean
public static bool IsTracing(
TraceType traceCategory
)
public:
static bool IsTracing(
TraceType traceCategory
)
static member IsTracing :
traceCategory:TraceType -> bool
public static function IsTracing(
traceCategory : TraceType
) : boolean
Parameters
- traceCategory
Type: Microsoft.TeamFoundation.TraceType
The trace category that will be checked.
Return Value
Type: System.Boolean
True if any tracing is configured for the category; otherwise, false.
.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.