System 2.0.0.0 4.0.0.0 System.Attribute System.AttributeUsage(System.AttributeTargets.Class) System.MonoLimitation("This attribute is not considered in trace support.")

This attribute is intended to be applied to all classes that inherit from the class. The purpose of the attribute is to identify the type that specifies the switch criteria of the switch. Each switch determines whether a trace is to be written, based on whether an event type matches or exceeds the value of the property for the switch. The type used for the property varies for different switches. For example, the switch level type for the class is , and the switch level type for the class is .

Identifies the level type for a switch.

- Constructor
  2.0.0.0
  4.0.0.0

  The parameter identifies the type that is used by the switch to determine if a trace should be written; for example, the type of the property of the class is .

  Initializes a new instance of the class, specifying the type that determines whether a trace should be written.

  The that determines whether a trace should be written.
- Property
  2.0.0.0
  4.0.0.0
  System.Type To be added.

  The level property of a switch is not necessarily named Level; for example, the level property of the class is .

  Gets or sets the type that determines whether a trace should be written.