Share via


TeamFoundationApplicationCore.LogException, méthode (String, Exception, Int32, EventLogEntryType)

Enregistrez une exception dans le journal des événements sous TeamFoundation EventSource

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Shared Sub LogException ( _
    message As String, _
    exception As Exception, _
    eventId As Integer, _
    level As EventLogEntryType _
)
public static void LogException(
    string message,
    Exception exception,
    int eventId,
    EventLogEntryType level
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationApplicationCore Classe

LogException, surcharge

Microsoft.TeamFoundation.Framework.Server, espace de noms