Partilhar via


SPDiagnosticsArea Class

Represents a logical container of one or more SPDiagnosticsCategories objects, and is used to implement a custom diagnostic service.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPDiagnosticsItem
    Microsoft.SharePoint.Administration.SPDiagnosticsArea

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

SPDiagnosticsArea Members

Microsoft.SharePoint.Administration Namespace