SPDiagnosticsCondition class

Specifies a condition under which the Unified Logging Service (ULS) verbosity level should be boosted for the duration of the request.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPDiagnosticsCondition

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPDiagnosticsCondition _
    Inherits SPAutoSerializingObject
'Usage
Dim instance As SPDiagnosticsCondition
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPDiagnosticsCondition : SPAutoSerializingObject

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPDiagnosticsCondition members

Microsoft.SharePoint.Administration namespace