SPDiagnosticsProvider 类
表示一个基类的诊断提供程序收集诊断信息并将该信息输出到日志记录数据库。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPJobDefinition
Microsoft.SharePoint.Diagnostics.SPDiagnosticsProviderJobDefinition
Microsoft.SharePoint.Diagnostics.SPDiagnosticsProvider
Microsoft.SharePoint.Diagnostics.SPDiagnosticsEventLogProvider
Microsoft.SharePoint.Diagnostics.SPDiagnosticsMetricsProvider
Microsoft.SharePoint.Diagnostics.SPDiagnosticsPerformanceCounterProvider
Microsoft.SharePoint.Diagnostics.SPDiagnosticsSqlProvider
Microsoft.SharePoint.Diagnostics.SPDiagnosticsULSProvider
命名空间: Microsoft.SharePoint.Diagnostics
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<GuidAttribute("3E322B8A-078C-4df1-9196-002C4D4CAA46")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPDiagnosticsProvider _
Inherits SPDiagnosticsProviderJobDefinition _
Implements ILoggingProvider
用法
Dim instance As SPDiagnosticsProvider
[GuidAttribute("3E322B8A-078C-4df1-9196-002C4D4CAA46")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPDiagnosticsProvider : SPDiagnosticsProviderJobDefinition,
ILoggingProvider
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。