Freigeben über


SPLog.Debug-Methode (String, Exception)

Schreibt der angegebenen Zeichenfolge und Ausnahme in das Upgrade Ereignisprotokoll als nur Informationen-Nachricht.

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

Syntax

'Declaration
Public Sub Debug ( _
    output As String, _
    exception As Exception _
)
'Usage
Dim instance As SPLog
Dim output As String
Dim exception As Exception

instance.Debug(output, exception)
public void Debug(
    string output,
    Exception exception
)

Parameter

  • output
    Typ: System.String

    Eine Zeichenfolge mit der Meldung, die in das Ereignisprotokoll geschrieben werden soll.

  • exception
    Typ: System.Exception

    Ein System.Exception -Objekt, das die Ausnahme darstellt.

Siehe auch

Referenz

SPLog Klasse

SPLog-Member

Debug-Überladung

Microsoft.SharePoint.Upgrade-Namespace