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
- requestContext
Tür: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- message
Tür: System.String
- exception
Tür: System.Exception
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen Güvenilen Koddan Kitaplıkları Kullanma.