ComponentSpace Trace Listeners Class Library Reference

SmtpTraceListener Methods

The methods of the SmtpTraceListener class are listed below. For a complete list of SmtpTraceListener class members, see the SmtpTraceListener Members topic.

Public Instance Methods

Close (inherited from TraceListener) When overridden in a derived class, closes the output stream so it no longer receives tracing or debugging output.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from TraceListener)Overloaded. Releases all resources used by the TraceListener .
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Fail (inherited from TraceListener)Overloaded. Emits an error message, and a detailed error message to the listener you create when you implement the TraceListener class.
Flush (inherited from TraceListener) When overridden in a derived class, flushes the output buffer.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) Returns a String that represents the current Object.
Write (inherited from TraceListener)Overloaded. Writes a category name and the value of the object's ToString method to the listener you create when you implement the TraceListener class.
WriteOverloaded. Write the message by sending an email message.
WriteLine (inherited from TraceListener)Overloaded. Writes a category name and the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.
WriteLineOverloaded. Write the message and a new line by sending an email message.

Protected Instance Methods

Dispose (inherited from TraceListener)Overloaded. Releases the unmanaged resources used by the TraceListener and optionally releases the managed resources.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
WriteIndent (inherited from TraceListener) Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.

See Also

SmtpTraceListener Class | ComponentSpace.TraceListeners Namespace