Share via


ExceptionFormatter.WriteReflectionInfo Method

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) Version: 6.0.0.0 (6.0.1304.0)

Syntax

protected void WriteReflectionInfo(
    Exception exceptionToFormat
)
'Declaration
Protected Sub WriteReflectionInfo ( 
    exceptionToFormat As Exception
)
protected:
void WriteReflectionInfo(
    Exception^ exceptionToFormat
)

Parameters

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

ExceptionFormatter Class

ExceptionFormatter Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace