SPDiagnosticsProvider class

Representa uma classe base para provedores de diagnóstico que coletam informações de diagnóstico e informações com um banco de dados de log de saída.

Inheritance hierarchy

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

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

Syntax

'Declaração
<GuidAttribute("3E322B8A-078C-4df1-9196-002C4D4CAA46")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPDiagnosticsProvider _
    Inherits SPDiagnosticsProviderJobDefinition _
    Implements ILoggingProvider
'Uso
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

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

SPDiagnosticsProvider members

Microsoft.SharePoint.Diagnostics namespace