ExceptionFormatter Members

Include Protected Members
Include Inherited Members

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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Format
Formats the Exception into the underlying stream.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(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.
Public property HandlingInstanceId
Gets the id of the handling chain requesting a formatting.

See Also

ExceptionFormatter Class

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace