Export (0) Print
Expand All

TraceContext Methods

The TraceContext type exposes the following members.

  NameDescription
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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

Community Additions

ADD
Show:
© 2014 Microsoft