SPDiagnosticsCategory members
Contains the EventSeverity and TraceSeverity properties for a specific category.
The SPDiagnosticsCategory type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. | |
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. | |
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
Properties
Name | Description | |
---|---|---|
Area | Gets the parent Area of this SPDiagnosticsCategory object. | |
DefaultEventSeverity | ||
DefaultTraceSeverity | Gets the default trace severity throttle value for this SPDiagnostics object. | |
EventSeverity | Gets or sets the currently configured verbosity of event logging. | |
Hidden | Retrieves the value indicating whether the item is hidden from the administrative user interface. (Inherited from SPDiagnosticsItem.) | |
Id | Gets the unique ID for the item. (Inherited from SPDiagnosticsItem.) | |
LocalizedName | Gets the name for the item, localized for display to the user. (Inherited from SPDiagnosticsItem.) | |
MessageId | Gets the integer value representing the index in the message table corresponding to this item. (Inherited from SPDiagnosticsItem.) | |
Name | Gets the non-localized name for the item, used when writing to the trace log, or when manipulating categories through the object model or through powershell. (Inherited from SPDiagnosticsItem.) | |
Shadow | ||
TraceSeverity | Gets or sets the currently configured verbosity of trace logging. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ResetToDefaults | Resets the EventSeverity and TraceSeverity back to their default values. | |
ToString | Formats the item and outputs it as a string value. (Inherited from SPDiagnosticsItem.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IDiagnosticsLevel.Id | Obsolete. |
Top