Megosztás a következőn keresztül:


EmailTraceListener Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

A TraceListener that writes an email message, formatting the output with an ILogFormatter.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(EmailTraceListenerData))> _
PublicClassEmailTraceListener _
    Inherits FormattedTraceListenerBase
[ConfigurationElementTypeAttribute(typeof(EmailTraceListenerData))]
publicclassEmailTraceListener : FormattedTraceListenerBase
[ConfigurationElementTypeAttribute(typeof(EmailTraceListenerData))]
publicref classEmailTraceListener : public FormattedTraceListenerBase
publicclass EmailTraceListener extends FormattedTraceListenerBase

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.Diagnostics.TraceListener
      Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedTraceListenerBase
        Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.EmailTraceListener

See Also

EmailTraceListener Members

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.