[Serializable] |
| ctor #1 | Overloaded:.ctor()Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the StackTrace class from the current location, in a caller's frame. |
| ctor #2 | Overloaded:.ctor(bool fNeedFileInfo) Initializes a new instance of the StackTrace class from the current location, in a caller's frame, optionally capturing source information. |
| ctor #3 | Overloaded:.ctor(Exception e) Initializes a new instance of the StackTrace class. |
| ctor #4 | Overloaded:.ctor(int skipFrames) Initializes a new instance of the StackTrace class from the current location, in a caller's frame, optionally skipping the given number of frames. |
| ctor #5 | Overloaded:.ctor(StackFrame frame) Initializes a new instance of the StackTrace class that contains a single frame. |
| ctor #6 | Overloaded:.ctor(Exception e, bool fNeedFileInfo) Initializes a new instance of the StackTrace class, using the provided exception object, optionally capturing source information. |
| ctor #7 | Overloaded:.ctor(Exception e, int skipFrames) Initializes a new instance of the StackTrace class using the provided exception object, optionally skipping the given number of frames. |
| ctor #8 | Overloaded:.ctor(int skipFrames, bool fNeedFileInfo) Initializes a new instance of the StackTrace class from the current location, in a caller's frame, optionally skipping the given number of frames and capturing source information. |
| ctor #9 | Overloaded:.ctor(Thread targetThread, bool needFileInfo) Initializes a new instance of the StackTrace class for another thread, optionally capturing source information. |
| ctor #10 | Overloaded:.ctor(Exception e, int skipFrames, bool fNeedFileInfo) Initializes a new instance of the StackTrace class using the provided exception object, optionally skipping the given number of frames and capturing source information. |
| METHODS_TO_SKIP | Defines the default for the number of methods to omit from the stack trace. This field is constant. |
| FrameCount | Read-only Gets the number of frames in the stack trace. |
| Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
| GetFrame | Gets the specified stack frame. |
| GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
| GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
| ToString | Overridden: Builds a readable representation of the stack trace. |
| Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
| MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public StackTrace(); |
public StackTrace( |
fNeedFileInfo
public StackTrace( |
e
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The parameter e is null. |
public StackTrace( |
skipFrames
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The skipFrames parameter is negative. |
public StackTrace( |
frame
e
fNeedFileInfo
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The parameter e is null. |
e
skipFrames
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The parameter e is null. |
| ArgumentOutOfRangeException | The skipFrames parameter is negative. |
skipFrames
fNeedFileInfo
| Exception Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The skipFrames parameter is negative. |
targetThread
needFileInfo
| Exception Type | Condition |
|---|---|
| ThreadStateException | The thread targetThread is not suspended. |
e
skipFrames
fNeedFileInfo
| Exception Type | Condition |
|---|---|
| ArgumentNullException | The parameter e is null. |
| ArgumentOutOfRangeException | The skipFrames parameter is negative. |
public const int METHODS_TO_SKIP;
|
public virtual int FrameCount {get;}
|
~StackTrace(); |
public virtual StackFrame GetFrame( |
index
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |