Compartilhar via


SPDiagnosticsCollection<T> class

Representa uma coleção de SPDiagnosticsItems, que contêm coleções de objetos SPDiagnosticsCategory ou SPDiagnosticsArea .

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPDiagnosticsCollection<T>

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

Syntax

'Declaração
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPDiagnosticsCollection(Of T As SPDiagnosticsItem) _
    Implements IEnumerable(Of T), IEnumerable
'Uso
Dim instance As SPDiagnosticsCollection(Of T)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDiagnosticsCollection<T> : IEnumerable<T>, 
    IEnumerable
where T : SPDiagnosticsItem

Type parameters

  • T

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.

Ver também

Referência

SPDiagnosticsCollection<T> members

Microsoft.SharePoint.Administration namespace