System.Diagnostics.StackTrace Provides information about a , which represents a function call on the call stack for the current thread. 2 Gets the column number in the file that contains the code that is executing. This information is typically extracted from the debugging symbols for the executable. The file column number, or 0 (zero) if the file column number cannot be determined. 2 Gets the line number in the file that contains the code that is executing. This information is typically extracted from the debugging symbols for the executable. The file line number, or 0 (zero) if the file line number cannot be determined. 2 Gets the file name that contains the code that is executing. This information is typically extracted from the debugging symbols for the executable. The file name, or null if the file name cannot be determined. 2 Gets the offset from the start of the Microsoft intermediate language (MSIL) code for the method that is executing. This offset might be an approximation depending on whether or not the just-in-time (JIT) compiler is generating debugging code. The generation of this debugging information is controlled by the . The offset from the start of the MSIL code for the method that is executing. 2 Gets the method in which the frame is executing. The method in which the frame is executing. 2 Defines the value that is returned from the or method when the native or Microsoft intermediate language (MSIL) offset is unknown. This field is constant. 1 Builds a readable representation of the stack trace. A readable representation of the stack trace. 2 Represents a stack trace, which is an ordered collection of one or more stack frames. 2 Initializes a new instance of the class, using the provided exception object and optionally capturing source information. The parameter is null. Returns a copy of all stack frames in the current stack trace. An array of type representing the function calls in the stack trace. 2 Builds a readable representation of the stack trace. A readable representation of the stack trace. 2