Export (0) Print
Expand All

TraceSource Methods

The TraceSource type exposes the following members.

  Name Description
Public method Close Closes all the trace listeners in the trace listener collection.
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 Flush Flushes all the trace listeners in the trace listener collection.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Protected method GetSupportedAttributes Gets the custom attributes supported by the trace source.
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 TraceData(TraceEventType, Int32, Object) Writes trace data to the trace listeners in the Listeners collection using the specified event type, event identifier, and trace data.
Public method TraceData(TraceEventType, Int32, Object[]) Writes trace data to the trace listeners in the Listeners collection using the specified event type, event identifier, and trace data array.
Public method TraceEvent(TraceEventType, Int32) Writes a trace event message to the trace listeners in the Listeners collection using the specified event type and event identifier.
Public method TraceEvent(TraceEventType, Int32, String) Writes a trace event message to the trace listeners in the Listeners collection using the specified event type, event identifier, and message.
Public method TraceEvent(TraceEventType, Int32, String, Object[]) Writes a trace event to the trace listeners in the Listeners collection using the specified event type, event identifier, and argument array and format.
Public method TraceInformation(String) Writes an informational message to the trace listeners in the Listeners collection using the specified message.
Public method TraceInformation(String, Object[]) Writes an informational message to the trace listeners in the Listeners collection using the specified object array and formatting information.
Public method TraceTransfer Writes a trace transfer message to the trace listeners in the Listeners collection using the specified numeric identifier, message, and related activity identifier.
Top
Show:
© 2014 Microsoft