This documentation is archived and is not being maintained.

TeamFoundationTrace::IsTracing Method (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)

public:
static bool IsTracing(
	String^ keyword, 
	TraceLevel traceLevel
)

Parameters

keyword
Type: System::String

One or more keywords

traceLevel
Type: System.Diagnostics::TraceLevel

Trace level

Return Value

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

Show: