Export (0) Print
Expand All

TraceContext Methods

The TraceContext type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Warn(String) Writes a trace message to the trace log. All warnings appear in the log as red text.
Public method 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.
Public method 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.
Public method Write(String) Writes a trace message to the trace log.
Public method Write(String, String) Writes trace information to the trace log, including a message and any user-defined categories.
Public method Write(String, String, Exception) Writes trace information to the trace log, including any user-defined categories, trace messages, and error information.
Top
Show:
© 2014 Microsoft