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
keywords
Type: array<System.String[]One or more keywords
traceLevel
Type: System.Diagnostics.TraceLevelTrace level
Return Value
Type: System.Boolean
True if tracing is enable for any of the keywords at the trace level
.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.