Export (0) Print
Expand All

StackTrace Constructor

Initializes a new instance of the StackTrace class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method StackTrace() Initializes a new instance of the StackTrace class from the caller's frame.
Public method StackTrace(Boolean) Initializes a new instance of the StackTrace class from the caller's frame, optionally capturing source information.
Public method StackTrace(StackFrame) Initializes a new instance of the StackTrace class that contains a single frame.
Public method StackTrace(Exception) Initializes a new instance of the StackTrace class using the provided exception object.
Public method StackTrace(Int32) Initializes a new instance of the StackTrace class from the caller's frame, skipping the specified number of frames.
Public method StackTrace(Exception, Boolean) Initializes a new instance of the StackTrace class, using the provided exception object and optionally capturing source information.
Public method StackTrace(Exception, Int32) Initializes a new instance of the StackTrace class using the provided exception object and skipping the specified number of frames.
Public method StackTrace(Int32, Boolean) Initializes a new instance of the StackTrace class from the caller's frame, skipping the specified number of frames and optionally capturing source information.
Public method StackTrace(Thread, Boolean) Initializes a new instance of the StackTrace class for a specific thread, optionally capturing source information.
Public method StackTrace(Exception, Int32, Boolean) Initializes a new instance of the StackTrace class using the provided exception object, skipping the specified number of frames and optionally capturing source information.
Top

Community Additions

ADD
Show:
© 2014 Microsoft