共用方式為


TeamFoundationApplicationCore.LogException 方法 (TeamFoundationRequestContext, String, Exception, Int32, EventLogEntryType)

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationApplicationCore 類別

LogException 多載

Microsoft.TeamFoundation.Framework.Server 命名空間