Compartilhar via


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

Constructors

  Name Description
Public method XmlExceptionFormatter Overloaded.

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.
(Overrides ExceptionFormatter.Format().)
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
Writes additional information to the XmlWriter.
(Overrides ExceptionFormatter.WriteAdditionalInfo(NameValueCollection).)
Protected method WriteDateTime
Writes the current date and time to the XmlWriter.
(Overrides ExceptionFormatter.WriteDateTime(DateTime).)
Protected method WriteDescription
Writes a generic description to the XmlWriter.
(Overrides ExceptionFormatter.WriteDescription().)
Protected method WriteException
Writes and formats the exception and all nested inner exceptions to the XmlWriter.
(Overrides ExceptionFormatter.WriteException(Exception, Exception).)
Protected method WriteExceptionType
Writes the value of the AssemblyQualifiedName property for the specified exception type to the XmlWriter.
(Overrides ExceptionFormatter.WriteExceptionType(Type).)
Protected method WriteFieldInfo
Writes the name and value of the FieldInfo object to the XmlWriter.
(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 XmlWriter.
(Overrides ExceptionFormatter.WriteHelpLink(String).)
Protected method WriteMessage
Writes the value of the Message property to the XmlWriter.
(Overrides ExceptionFormatter.WriteMessage(String).)
Protected method WritePropertyInfo
Writes the name and value of the specified property to the XmlWriter.
(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 XmlWriter.
(Overrides ExceptionFormatter.WriteSource(String).)
Protected method WriteStackTrace
Writes the value of the specified stack trace taken from the value of the StackTrace property to the XmlWriter.
(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 XmlWriter that the formatted exception is written to.

See Also

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