Delen via


TeamFoundationTrace.IsTracing Method (array<String , TraceLevel)

Check to see whether tracing is enabled at the specified level for any of the keywords.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

'Declaration
Public Shared Function IsTracing ( _
    keywords As String(), _
    traceLevel As TraceLevel _
) As Boolean
public static bool IsTracing(
    string[] keywords,
    TraceLevel traceLevel
)
public:
static bool IsTracing(
    array<String^>^ keywords, 
    TraceLevel traceLevel
)
static member IsTracing : 
        keywords:string[] * 
        traceLevel:TraceLevel -> bool
public static function IsTracing(
    keywords : String[], 
    traceLevel : TraceLevel
) : boolean

Parameters

Return Value

Type: System.Boolean
True if tracing is enable for any of the keywords at the trace level

.NET Framework Security

See Also

Reference

TeamFoundationTrace Class

IsTracing Overload

Microsoft.TeamFoundation Namespace