Freigeben über


TeamFoundationApplicationCore.LogException-Methode (TeamFoundationRequestContext, String, Exception, Int32, EventLogEntryType)

Melden Sie eine Ausnahme im Ereignisprotokoll unter dem EventSource TeamFoundation

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Shared Sub LogException ( _
    requestContext As TeamFoundationRequestContext, _
    message As String, _
    exception As Exception, _
    eventId As Integer, _
    level As EventLogEntryType _
)
public static void LogException(
    TeamFoundationRequestContext requestContext,
    string message,
    Exception exception,
    int eventId,
    EventLogEntryType level
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationApplicationCore Klasse

LogException-Überladung

Microsoft.TeamFoundation.Framework.Server-Namespace