This documentation is archived and is not being maintained.
TraceContext Methods
Visual Studio 2010
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.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (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. |
Show: