共用方式為


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

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

語法

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

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationEventLogger 類別

Log 多載

Microsoft.TeamFoundation.Framework.Server 命名空間