StructuredTraceSource Constructor (String, SourceLevels)CleanCode C# Libraries v1.2.03 API
Initializes a new instance of the StructuredTraceSource class.

Namespace: CleanCode.Diagnostics
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public StructuredTraceSource(
	string name,
	SourceLevels defaultLevel
)

Parameters

name
Type: OnlineSystem String
The key name identifying this trace, typically the name of the class or application.
defaultLevel
Type: OnlineSystem.Diagnostics SourceLevels
A bitwise combination of the OnlineSourceLevels values that specifies the default source level at which to trace.
Exceptions

ExceptionCondition
ArgumentExceptionname is an empty string ("").
ArgumentNullExceptionname is null.
See Also