Click or drag to resize
StackFrame Class
Provides information about a StackFrame, which represents a function call on the call stack for the current thread.
Inheritance Hierarchy
SystemObject
  System.DiagnosticsStackFrame

Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
[SerializableAttribute]
public class StackFrame

The StackFrame type exposes the following members.

Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMethod
Gets the method in which the frame is executing.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Builds a readable representation of the stack trace.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberOFFSET_UNKNOWN
Defines the value that is returned from the GetNativeOffset or GetILOffset method when the native or Microsoft intermediate language (MSIL) offset is unknown. This field is constant.
Top
See Also