SPDiagnosticsConditions members

Represents the collection of conditions under which the Unified Logging Service (ULS) verbosity level should be boosted for the duration of the request.

The SPDiagnosticsConditions type exposes the following members.

Constructors

  Name Description
Public method SPDiagnosticsConditions() Initializes a new instance of the SPDiagnosticsConditions class.
Public method SPDiagnosticsConditions(Boolean) Initializes a new instance of the SPDiagnosticsConditions class based on enabled matching conditions.

Top

Properties

  Name Description
Public property Count Gets the number of active user-defined conditions enabled.
Public property Item Gets user-defined conditions.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method AddCondition Adds a user-defined diagnostics condition.
Public method Disable Prevents requests from matching the conditions specified in this object.
Public method Enable Allows requests to match the conditions specified in this object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method RemoveCondition Removes an active user-defined condition.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPDiagnosticsConditions class

Microsoft.SharePoint.Administration namespace