StackTrace Constructor (Exception, Int32, Boolean)
Initializes a new instance of the StackTrace class by using the specified exception object and skipping the specified number of frames, and optionally captures source information.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] public StackTrace( Exception e, int skipFrames, bool fNeedFileInfo )
- Type: System.Exception
The exception object from which to construct the stack trace.
- Type: System.Int32
The number of frames up the stack from which to start the trace.
- Type: System.Boolean
true to capture the file name, line number, and column number; otherwise, false.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.