ExceptionFormatter.WriteReflectionInfo Method
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. |
Formats an Exception using reflection to get the information.
Namespace: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll)
Syntax
'Declaration
ProtectedSubWriteReflectionInfo ( _
exceptionToFormatAs Exception _
)
protectedvoidWriteReflectionInfo(
Exception exceptionToFormat
)
protected:
voidWriteReflectionInfo(
Exception^ exceptionToFormat
)
protectedfunctionWriteReflectionInfo(
exceptionToFormat : Exception
)
Parameters
- exceptionToFormat
Type: System.Exception
The Exception to be formatted.
Remarks
This method reflects over the public, instance properties and public, instance fields of the specified exception and prints them to the formatter. Certain property names are ignored because they are handled explicitly in other places.
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. |