TraceContext Methods
.NET Framework 4.5
The TraceContext type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
Warn(String) | Writes a trace message to the trace log. All warnings appear in the log as red text. |
|
Warn(String, String) | Writes trace information to the trace log, including any user-defined categories and trace messages. All warnings appear in the log as red text. |
|
Warn(String, String, Exception) | Writes trace information to the trace log, including any user-defined categories, trace messages, and error information. All warnings appear in the log as red text. |
|
Write(String) | Writes a trace message to the trace log. |
|
Write(String, String) | Writes trace information to the trace log, including a message and any user-defined categories. |
|
Write(String, String, Exception) | Writes trace information to the trace log, including any user-defined categories, trace messages, and error information. |