TextExceptionFormatter.WriteException 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. |
Writes and formats the exception and all nested inner exceptions to the TextWriter.
Namespace: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll)
Syntax
'Declaration
ProtectedOverridesSubWriteException ( _
exceptionToFormatAs Exception, _
outerExceptionAs Exception _
)
protectedoverridevoidWriteException(
Exception exceptionToFormat,
Exception outerException
)
protected:
virtualvoidWriteException(
Exception^ exceptionToFormat,
Exception^ outerException
) override
protectedoverridefunctionWriteException(
exceptionToFormat : Exception,
outerException : Exception
)
Parameters
- exceptionToFormat
Type: System.Exception
The exception to format.
- outerException
Type: System.Exception
The outer exception. This value will be null when writing the outer-most exception.
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. |