Megosztás a következőn keresztül:


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
Public method TextExceptionFormatter
Initializes a new instance of the TextExceptionFormatter using the specified TextWriter and Exception objects.

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.
(Inherited from ExceptionFormatter.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method Indent
Indents the TextWriter.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Protected method WriteAdditionalInfo
Writes the additional properties to the TextWriter.
(Overrides ExceptionFormatter.WriteAdditionalInfo(NameValueCollection).)
Protected method WriteDateTime
Writes the current date and time to the TextWriter.
(Overrides ExceptionFormatter.WriteDateTime(DateTime).)
Protected method WriteDescription
Writes a generic description to the underlying text stream.
(Overrides ExceptionFormatter.WriteDescription().)
Protected method WriteException
Writes and formats the exception and all nested inner exceptions to the TextWriter.
(Overrides ExceptionFormatter.WriteException(Exception, Exception).)
Protected method WriteExceptionType
Writes the value of the AssemblyQualifiedName property for the specified exception type to the TextWriter.
(Overrides ExceptionFormatter.WriteExceptionType(Type).)
Protected method WriteFieldInfo
Writes the name and value of the specified field to the TextWriter.
(Overrides ExceptionFormatter.WriteFieldInfo(FieldInfo, Object).)
Protected method WriteHelpLink
Writes the value of the specified help link taken from the value of the HelpLink property to the TextWriter.
(Overrides ExceptionFormatter.WriteHelpLink(String).)
Protected method WriteMessage
Writes the value of the Message property to the underyling TextWriter.
(Overrides ExceptionFormatter.WriteMessage(String).)
Protected method WritePropertyInfo
Writes the name and value of the specified property to the TextWriter.
(Overrides ExceptionFormatter.WritePropertyInfo(PropertyInfo, Object).)
Protected method WriteReflectionInfo
Formats an Exception using reflection to get the information.
(Inherited from ExceptionFormatter.)
Protected method WriteSource
Writes the value of the specified source taken from the value of the Source property to the TextWriter.
(Overrides ExceptionFormatter.WriteSource(String).)
Protected method WriteStackTrace
Writes the value of the StackTrace property to the TextWriter.
(Overrides ExceptionFormatter.WriteStackTrace(String).)

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).
(Inherited from ExceptionFormatter.)
Public property Exception
Gets the Exception to format.
(Inherited from ExceptionFormatter.)
Public property Writer
Gets the underlying TextWriter that the current formatter is writing to.

See Also

TextExceptionFormatter 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.