http://msdn2.microsoft.com/zh-cn/library/system.diagnostics.traceeventtype.aspx
标识引起跟踪的事件的类型
public enum TraceEventType
Critical 错误或应用程序崩溃(Fatal error or application crash)。
Error 可恢复的错误(Recoverable error)。
Information 信息性消息(Informational message)。
Resume 逻辑操作的恢复(Resumption of a logical operation)。
Start 逻辑操作的开始(Starting of a logical operation)。
Stop 逻辑操作的停止(Stopping of a logical operation)。
Suspend 逻辑操作的挂起(Suspension of a logical operation)。
Transfer 相关标识的更改(Changing of correlation identity)。
Verbose 调试跟踪(Debugging trace)。
Warning 非关键性问题(Noncritical problem)。
public enum TraceEventType
{
Critical = 1,
Error = 2,
Information = 8,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Resume = 0x800,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Start = 0x100,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Stop = 0x200,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Suspend = 0x400,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Transfer = 0x1000,
Verbose = 0x10,
Warning = 4
}
标识引起跟踪的事件的类型
public enum TraceEventType
Critical 错误或应用程序崩溃(Fatal error or application crash)。
Error 可恢复的错误(Recoverable error)。
Information 信息性消息(Informational message)。
Resume 逻辑操作的恢复(Resumption of a logical operation)。
Start 逻辑操作的开始(Starting of a logical operation)。
Stop 逻辑操作的停止(Stopping of a logical operation)。
Suspend 逻辑操作的挂起(Suspension of a logical operation)。
Transfer 相关标识的更改(Changing of correlation identity)。
Verbose 调试跟踪(Debugging trace)。
Warning 非关键性问题(Noncritical problem)。
public enum TraceEventType
{
Critical = 1,
Error = 2,
Information = 8,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Resume = 0x800,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Start = 0x100,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Stop = 0x200,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Suspend = 0x400,
[EditorBrowsable(EditorBrowsableState.Advanced)]
Transfer = 0x1000,
Verbose = 0x10,
Warning = 4
}


浙公网安备 33010602011771号