Delen via


LoggingExceptionHandler Members

Include Protected Members
Include Inherited Members

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.

The LoggingExceptionHandler type exposes the following members.

Constructors

  Name Description
Public method LoggingExceptionHandler
Initializes a new instance of the LoggingExceptionHandler class with the log category, the event ID, the TraceEventType, the title, minimum priority, the formatter type, and the LogWriter.

Methods

  Name Description
Protected method CreateFormatter
Creates an ExceptionFormatter object based on the configured ExceptionFormatter type name.
Protected method CreateStringWriter
Creates an instance of the StringWriter class using its default constructor.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HandleException

Handles the specified Exception object by formatting it and writing to the configured log.

Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Protected method WriteToLog
Writes the specified log message using the Logging Application Block's Write(LogEntry) method.

See Also

LoggingExceptionHandler Class

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging 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.