Share via


SPDiagnosticsCategory constructor

Initializes the category name and the default throttle value for TraceSeverity and EventSeverity.

Overload list

  Name Description
Public method SPDiagnosticsCategory(String, TraceSeverity, EventSeverity) Initializes the category name and the default throttle value for TraceSeverity and EventSeverity with the specified name, TraceSeverity and EventSeverity objects.
Public method SPDiagnosticsCategory(String, TraceSeverity, EventSeverity, UInt32, UInt32) Initializes the category name and the default throttle value for TraceSeverity and EventSeverity with the specified name, TraceSeverity object, EventSeverity object, message identifier, and category identifier.
Public method SPDiagnosticsCategory(String, String, TraceSeverity, EventSeverity, UInt32, UInt32, Boolean, Boolean) Initializes the category name and the default throttle value for TraceSeverity and EventSeverity with the specified name, localized name, TraceSeverity object, EventSeverity object, message identifier, category identifier, unique numeric identifier, a Bool that specifies whether the created object is hidden from logging, and a Bool that specifies whether the defined category is synchronized with other categories.

Top

See also

Reference

SPDiagnosticsCategory class

SPDiagnosticsCategory members

Microsoft.SharePoint.Administration namespace