SPDiagnosticsCollection<T> Class

Represents a collection of SPDiagnosticsItems, which contain collections of SPDiagnosticsCategory or SPDiagnosticsArea objects.

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

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPDiagnosticsCollection<T> : IEnumerable<T>, 
	IEnumerable
where T : SPDiagnosticsItem

Type Parameters

T

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