Bagikan melalui


TeamFoundationTrace.IsTracing Method (TraceType, TraceLevel)

Checks whether tracing is enabled at the specified 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, _
    level As TraceLevel _
) As Boolean
public static bool IsTracing(
    TraceType traceCategory,
    TraceLevel level
)
public:
static bool IsTracing(
    TraceType traceCategory, 
    TraceLevel level
)
static member IsTracing : 
        traceCategory:TraceType * 
        level:TraceLevel -> bool 
public static function IsTracing(
    traceCategory : TraceType, 
    level : TraceLevel
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

IsTracing Overload

Microsoft.TeamFoundation Namespace