Partager via


ExceptionFormatter 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 ExceptionFormatter type exposes the following members.

Constructors

  Name Description
Protected method ExceptionFormatter
Initializes a new instance of the ExceptionFormatter class with an Exception to format.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Format
Formats the Exception into the underlying stream.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Protected method WriteAdditionalInfo
When overridden by a class, writes additional properties if available.
Protected method WriteDateTime
When overridden by a class, writes the current time.
Protected method WriteDescription
When overridden by a class, writes a description of the caught exception.
Protected method WriteException
Formats the exception and all nested inner exceptions.
Protected method WriteExceptionType
When overridden by a class, writes the Type of the current exception.
Protected method WriteFieldInfo
When overridden by a class, writes the value of a FieldInfo object.
Protected method WriteHelpLink
When overridden by a class, writes the value of the HelpLink property.
Protected method WriteMessage
When overridden by a class, writes the Message.
Protected method WritePropertyInfo
When overridden by a class, writes the value of a PropertyInfo object.
Protected method WriteReflectionInfo
Formats an Exception using reflection to get the information.
Protected method WriteSource
When overridden by a class, writes the value of the Source property.
Protected method WriteStackTrace
When overridden by a class, writes the value of the StackTrace property.

Properties

  Name Description
Public property AdditionalInfo
Gets additional information related to the Exception but not stored in the exception (eg: the time in which the Exception was thrown).
Public property Exception
Gets the Exception to format.

See Also

ExceptionFormatter Class

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