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 命名空间