共用方式為


TeamFoundationEventLog.LogException 方法 (TeamFoundationRequestContext, String, Exception, EventLogEntryType)

請參閱多載。

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

語法

'宣告
Public Sub LogException ( _
    requestContext As TeamFoundationRequestContext, _
    message As String, _
    exception As Exception, _
    level As EventLogEntryType _
)
public void LogException(
    TeamFoundationRequestContext requestContext,
    string message,
    Exception exception,
    EventLogEntryType level
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationEventLog 類別

LogException 多載

Microsoft.TeamFoundation.Framework.Server 命名空間