Gets current stack trace information.
Assembly: mscorlib (in mscorlib.dll)
The requested stack trace information is out of range.
The property lists method calls in reverse chronological order, that is, the most recent method call is described first, and one line of stack trace information is listed for each method call on the stack. However, the property might not report as many method calls as expected due to code transformations that occur during optimization.
For a hierarchical view of the stack trace information by class, use the StackTrace class.
The property formats the stack trace information for each method call as follows:
"at FullClassName. MethodName (MethodParams) in FileName :line LineNumber "
The literal "at" is preceded by three spaces, and the literals "in" and ":line" are omitted if debug symbols are not available. The placeholders, FullClassName, MethodName, MethodParms, FileName, and LineNumber, are replaced by actual values defined as follows:
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.