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.StringChaîne contenant le message qui sera écrit dans le journal des événements.
exception
Type : System.ExceptionUn objet System.Exception qui représente l'exception.