TextExceptionFormatter.WriteStackTrace 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 the value of the StackTrace property to the TextWriter.

Namespace:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling
Assembly:  Microsoft.Practices.EnterpriseLibrary.ExceptionHandling (in Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll)

Syntax

'Declaration
ProtectedOverridesSubWriteStackTrace ( _
    stackTraceAs String _
)
protectedoverridevoidWriteStackTrace(
    string stackTrace
)
protected:
virtualvoidWriteStackTrace(
    String^ stackTrace
) override
protectedoverridefunctionWriteStackTrace(
    stackTrace : String
)

Parameters

  • stackTrace
    Type: System.String
    The stack trace of the exception.

Remarks

If there is no stack trace available, an appropriate message will be displayed.

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.