共用方式為


TeamFoundationEventLog.Log 方法 (TeamFoundationRequestContext, String, String, Int32, EventLogEntryType)

具有自訂 eventlog 訊息標頭的系統事件記錄檔中寫入項目。

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

語法

'宣告
Public Sub Log ( _
    requestContext As TeamFoundationRequestContext, _
    messageBrief As String, _
    message As String, _
    eventId As Integer, _
    level As EventLogEntryType _
)
public void Log(
    TeamFoundationRequestContext requestContext,
    string messageBrief,
    string message,
    int eventId,
    EventLogEntryType level
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationEventLog 類別

Log 多載

Microsoft.TeamFoundation.Framework.Server 命名空間