Compartilhar via


Método TeamFoundationApplicationCore.LogException (String, Exception, Int32, EventLogEntryType)

Registrar uma exceção no log de eventos no TeamFoundation EventSource

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

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

TeamFoundationApplicationCore Classe

Sobrecargas LogException

Namespace Microsoft.TeamFoundation.Framework.Server