다음을 통해 공유


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)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPDiagnosticsArea _
    Inherits SPDiagnosticsItem
'Usage
Dim instance As SPDiagnosticsArea
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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