ExceptionFormatter Members
Include Protected Members
Include Inherited Members
The ExceptionFormatter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExceptionFormatter |
Initializes a new instance of the ExceptionFormatter class with an Exception to format.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
Format |
Formats the Exception into the underlying stream.
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
|
WriteAdditionalInfo |
When overridden by a class, writes additional properties if available.
|
|
WriteDateTime |
When overridden by a class, writes the current time.
|
|
WriteDescription |
When overridden by a class, writes a description of the caught exception.
|
|
WriteException |
Formats the exception and all nested inner exceptions.
|
|
WriteExceptionType |
When overridden by a class, writes the Type of the current exception.
|
|
WriteFieldInfo |
When overridden by a class, writes the value of a FieldInfo object.
|
|
WriteHelpLink |
When overridden by a class, writes the value of the HelpLink property.
|
|
WriteMessage |
When overridden by a class, writes the Message.
|
|
WritePropertyInfo |
When overridden by a class, writes the value of a PropertyInfo object.
|
|
WriteReflectionInfo |
Formats an Exception using reflection to get the information.
|
|
WriteSource |
When overridden by a class, writes the value of the Source property.
|
|
WriteStackTrace |
When overridden by a class, writes the value of the StackTrace property.
|
Properties
Name | Description | |
---|---|---|
AdditionalInfo | ||
Exception |
Gets the Exception to format.
|
|
HandlingInstanceId |
Gets the id of the handling chain requesting a formatting.
|
See Also
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace