Initializes a new instance of the StackTrace class containing a single frame.
[Visual Basic] Overloads Public Sub New( _ ByVal frame As StackFrame _ ) [C#] public StackTrace( StackFrame frame ); [C++] public: StackTrace( StackFrame* frame ); [JScript] public function StackTrace( frame : StackFrame );
Use this constructor when you do not want the overhead of a full stack trace.
StackTrace Class | StackTrace Members | System.Diagnostics Namespace | StackTrace Constructor Overload List