EventTypeFilter Constructor (SourceLevels)


Initializes a new instance of the EventTypeFilter class.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public EventTypeFilter(
	SourceLevels level


Type: System.Diagnostics.SourceLevels

A bitwise combination of the SourceLevels values that specifies the event type of the messages to trace.

The value of the level parameter is used to initialize the EventType property.

.NET Framework
Available since 2.0
Return to top