Compartilhar via


SPDiagnosticsCategory Constructor

Include Protected Members
Include Inherited Members

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