Partager via


ILogger.LogException, méthode (String, Int32, String, Exception)

Enregistre une exception.

Espace de noms :  Microsoft.TeamFoundation.Client
Assembly :  Microsoft.VisualStudio.TeamFoundation.Client (dans Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntaxe

'Déclaration
Sub LogException ( _
    plugin As String, _
    logLevel As Integer, _
    msg As String, _
    e As Exception _
)
void LogException(
    string plugin,
    int logLevel,
    string msg,
    Exception e
)

Paramètres

  • plugin
    Type : System.String
    Le plug-in qui a déclenché l'exception.
  • msg
    Type : System.String
    Un message à écrire dans le journal.

Sécurité .NET Framework

Voir aussi

Référence

ILogger Interface

LogException, surcharge

Microsoft.TeamFoundation.Client, espace de noms