ComponentSpace Trace Listeners Class Library Reference

SmtpTraceListener Members

SmtpTraceListener overview

Public Instance Constructors

SmtpTraceListener Overloaded. Initializes a new instance of the SmtpTraceListener class.

Public Instance Properties

FromAddress Gets or sets the email from address.
IndentLevel (inherited from TraceListener) Gets or sets the indent level.
IndentSize (inherited from TraceListener) Gets or sets the number of spaces in an indent.
Name (inherited from TraceListener) Gets or sets a name for this TraceListener.
SmtpServer Gets or sets the name of the SMTP mail server to use to send all e-mail messages.
Subject Gets or sets the subject line.
ToAddress Gets or sets the email to address.

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 Properties

NeedIndent (inherited from TraceListener) Gets or sets a value indicating whether to indent the output.

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