[Serializable] |
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new StackFrame object that corresponds to the active stack frame. |
ctor #2 | Overloaded:.ctor(bool fNeedFileInfo) Initializes a new StackFrame object that corresponds to the active stack frame, optionally capturing source information. |
ctor #3 | Overloaded:.ctor(int skipFrames) Initializes a new StackFrame object that corresponds to a frame above the active stack frame. |
ctor #4 | Overloaded:.ctor(int skipFrames, bool fNeedFileInfo) Initializes a new StackFrame object that corresponds to a frame above the active stack frame, optionally capturing source information. |
ctor #5 | Overloaded:.ctor(string fileName, int lineNumber) Initializes a new instance of the StackFrame object and constructs a dummy stack frame that only contains the given file name and line number. |
ctor #6 | Overloaded:.ctor(string fileName, int lineNumber, int colNumber) Initializes a new StackFrame object and constructs a dummy stack frame that only contains the given file name, line number, and column number. |
OFFSET_UNKNOWN | Defines the value returned from StackFrame.GetNativeOffset or StackFrame.GetILOffset when the native or Microsoft Intermediate Language (MSIL) offset is unknown. This field is constant. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetFileColumnNumber | 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. |
GetFileLineNumber | 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. |
GetFileName | Gets the file name that contains the code that is executing. This information is typically extracted from the debugging symbols for the executable. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetILOffset | 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 the just-in-time (JIT) compiler is generating debugging code or not. |
GetMethod | Gets the method in which the frame is executing. |
GetNativeOffset | Gets the offset from the start of the native just-in-time (JIT)-compiled code for the method being executed. |
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 StackFrame(); |
public StackFrame( |
fNeedFileInfo
public StackFrame( |
skipFrames
skipFrames
fNeedFileInfo
fileName
lineNumber
fileName
lineNumber
colNumber
public const int OFFSET_UNKNOWN;
|
~StackFrame(); |
public virtual int GetFileColumnNumber(); |
-or-
Zero if the file column number cannot be determined.
public virtual int GetFileLineNumber(); |
-or-
Zero if the file line number cannot be determined.
public virtual string GetFileName(); |
-or-
null if the file name cannot be determined.
public virtual int GetHashCode(); |
public virtual int GetILOffset(); |
public virtual MethodBase GetMethod(); |
public virtual int GetNativeOffset(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |