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

Return Value

Type: System.Boolean
True if any tracing is configured for the category; otherwise, false.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

IsTracing Overload

Microsoft.TeamFoundation Namespace