Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StackFrame Members

Provides information about a StackFrame, which represents a function call on the call stack for the current thread.

The following tables list the members exposed by the StackFrame type.

  Name Description
Public method StackFrame Overloaded. Initializes a new StackFrame object.
Top

  Name Description
Public field Static OFFSET_UNKNOWN Defines the value returned from GetNativeOffset or GetILOffset when the native or Microsoft intermediate language (MSIL) offset is unknown. This field is constant.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method 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.
Public method 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.
Public method GetFileName Gets the file name that contains the code that is executing. This information is typically extracted from the debugging symbols for the executable.
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method 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. The generation of this debugging information is controlled by the DebuggableAttribute.
Public method GetMethod Gets the method in which the frame is executing.
Public method GetNativeOffset Gets the offset from the start of the native just-in-time (JIT)-compiled code for the method being executed. The generation of this debugging information is controlled by the DebuggableAttribute.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Builds a readable representation of the stack trace.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft