TextExceptionFormatter 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 TextExceptionFormatter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TextExceptionFormatter |
Initializes a new instance of the TextExceptionFormatter using the specified TextWriter and Exception objects.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
Format |
Formats the Exception into the underlying stream.
(Inherited from ExceptionFormatter.) |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Indent |
Indents the TextWriter.
|
|
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WriteAdditionalInfo |
Writes the additional properties to the TextWriter.
(Overrides ExceptionFormatter.WriteAdditionalInfo(NameValueCollection).) |
|
WriteDateTime |
Writes the current date and time to the TextWriter.
(Overrides ExceptionFormatter.WriteDateTime(DateTime).) |
|
WriteDescription |
Writes a generic description to the underlying text stream.
(Overrides ExceptionFormatter.WriteDescription().) |
|
WriteException |
Writes and formats the exception and all nested inner exceptions to the TextWriter.
(Overrides ExceptionFormatter.WriteException(Exception, Exception).) |
|
WriteExceptionType |
Writes the value of the AssemblyQualifiedName property for the specified exception type to the TextWriter.
(Overrides ExceptionFormatter.WriteExceptionType(Type).) |
|
WriteFieldInfo |
Writes the name and value of the specified field to the TextWriter.
(Overrides ExceptionFormatter.WriteFieldInfo(FieldInfo, Object).) |
|
WriteHelpLink |
Writes the value of the specified help link taken from the value of the HelpLink property to the TextWriter.
(Overrides ExceptionFormatter.WriteHelpLink(String).) |
|
WriteMessage |
Writes the value of the Message property to the underyling TextWriter.
(Overrides ExceptionFormatter.WriteMessage(String).) |
|
WritePropertyInfo |
Writes the name and value of the specified property to the TextWriter.
(Overrides ExceptionFormatter.WritePropertyInfo(PropertyInfo, Object).) |
|
WriteReflectionInfo |
Formats an Exception using reflection to get the information.
(Inherited from ExceptionFormatter.) |
|
WriteSource |
Writes the value of the specified source taken from the value of the Source property to the TextWriter.
(Overrides ExceptionFormatter.WriteSource(String).) |
|
WriteStackTrace |
Writes the value of the StackTrace property to the TextWriter.
(Overrides ExceptionFormatter.WriteStackTrace(String).) |
Properties
Name | Description | |
---|---|---|
AdditionalInfo |
Gets additional information related to the Exception but not stored in the exception (eg: the time in which the Exception was thrown).
(Inherited from ExceptionFormatter.) |
|
Exception |
Gets the Exception to format.
(Inherited from ExceptionFormatter.) |
|
Writer |
Gets the underlying TextWriter that the current formatter is writing to.
|
See Also
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. |