Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ConsoleTraceListener Methods

(see also Protected Methods )
  Name Description
Public method Close  Closes the Writer so that it no longer receives tracing or debugging output. (Inherited from TextWriterTraceListener.)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose  Overloaded. Disposes this TextWriterTraceListener object. (Inherited from TextWriterTraceListener.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Fail  Overloaded. Emits error messages to the listener you create when you implement the TraceListener class. (Inherited from TraceListener.)
Public method Flush  Flushes the output buffer for the Writer. (Inherited from TextWriterTraceListener.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method TraceData  Overloaded. Writes trace data to the listener specific output. (Inherited from TraceListener.)
Public method TraceEvent  Overloaded. Writes trace and event information to the listener specific output. (Inherited from TraceListener.)
Public method TraceTransfer  Writes trace information, a message, a related activity identity and event information to the listener specific output. (Inherited from TraceListener.)
Public method Write  Overloaded. Writes a message to this instance's Writer. (Inherited from TextWriterTraceListener.)
Public method WriteLine  Overloaded. Writes a message to this instance's Writer followed by a line terminator. (Inherited from TextWriterTraceListener.)
Top
  Name Description
Protected method Dispose  Overloaded. Disposes this TextWriterTraceListener object. (Inherited from TextWriterTraceListener.)
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetSupportedAttributes  Gets the custom attributes supported by the trace listener. (Inherited from TraceListener.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method WriteIndent  Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false. (Inherited from TraceListener.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.