Aracılığıyla paylaş


TeamFoundationEventLogger.LogException Yöntem (TeamFoundationRequestContext, String, Exception)

TeamFoundation EventSource altında olay günlüğüne bir özel durum kaydet EventId ve EventLogType değerlerini almak için özel durumun ayrıntılarını kullan

Ad alanı:  Microsoft.TeamFoundation.Framework.Server
Derleme:  Microsoft.TeamFoundation.Framework.Server (Microsoft.TeamFoundation.Framework.Server.dll içinde)

Sözdizimi

'Bildirim
Public Shared Sub LogException ( _
    requestContext As TeamFoundationRequestContext, _
    message As String, _
    exception As Exception _
)
public static void LogException(
    TeamFoundationRequestContext requestContext,
    string message,
    Exception exception
)

Parametreler

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

TeamFoundationEventLogger Sınıf

LogException Fazla Yük

Microsoft.TeamFoundation.Framework.Server Ad Alanı