Share via


SPLog.Debug - Méthode (String, Exception)

Écrit la chaîne spécifiée et l'exception dans le journal des événements mise à niveau sous la forme d'un message d'information uniquement.

Espace de noms :  Microsoft.SharePoint.Upgrade
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub Debug ( _
    output As String, _
    exception As Exception _
)
'Utilisation
Dim instance As SPLog
Dim output As String
Dim exception As Exception

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

Paramètres

  • output
    Type : System.String

    Chaîne contenant le message qui sera écrit dans le journal des événements.

  • exception
    Type : System.Exception

    Un objet System.Exception qui représente l'exception.

Voir aussi

Référence

SPLog classe

SPLog - Membres

Debug - Surcharge

Microsoft.SharePoint.Upgrade - Espace de noms