Share via


TextExceptionFormatter.WriteStackTrace Method

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

Syntax

protected override void WriteStackTrace(
    string stackTrace
)
'Declaration
Protected Overrides Sub WriteStackTrace ( 
    stackTrace As String
)
protected:
virtual void WriteStackTrace(
    String^ stackTrace
) override

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

TextExceptionFormatter Members

Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace