TeamFoundationEventLog 类
Team Foundation 记录选件类。
继承层次结构
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationEventLog
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public NotInheritable Class TeamFoundationEventLog
public sealed class TeamFoundationEventLog
TeamFoundationEventLog 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
TeamFoundationEventLog(String) | 重载参见。 | |
TeamFoundationEventLog(String, Assembly) | 创建 Team Foundation 记录的实例。 |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
Log(TeamFoundationRequestContext, String) | 记录为类型 [Information]的消息。 | |
Log(TeamFoundationRequestContext, String, EventLogEntryType) | 记录具有默认操作的消息。 | |
Log(TeamFoundationRequestContext, String, Int32) | 记录具有默认操作的消息。 | |
Log(TeamFoundationRequestContext, String, Int32, EventLogEntryType) | 写入系统事件日志的项。 | |
Log(TeamFoundationRequestContext, String, String, Int32, EventLogEntryType) | 写入系统事件日志的项与自定义 eventlog 信息标题。 | |
LogException(TeamFoundationRequestContext, String, Exception) | 重载参见。 | |
LogException(TeamFoundationRequestContext, String, Exception, EventLogEntryType) | 重载参见。 | |
LogException(TeamFoundationRequestContext, String, Exception, Int32) | 重载参见。 | |
LogException(TeamFoundationRequestContext, String, Exception, Int32, EventLogEntryType) | 重载参见。 | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
备注
此选件类是记录功能的密封所有 Team Foundation 应添加到此选件类。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。