This documentation is archived and is not being maintained.
StackFrame Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents a stack frame for executing code. This class contains methods for resolving scope. It belongs to the compilation and run-time state category.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
The StackFrame type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Item[Double] | Gets or sets a member of the script object that is designated by the specified Double index value. (Inherited from ScriptObject.) |
![]() | Item[Int32] | Gets or sets a member of the script object that is designated by the specified Int32 index value. (Inherited from ScriptObject.) |
![]() | Item[array<Object>] | Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value. (Inherited from ScriptObject.) |
![]() | Item[String] | Gets or sets a member of the script object that is designated by the specified name. (Inherited from ScriptObject.) |
![]() | UnderlyingSystemType | Gets the type of the script object. (Inherited from ScriptObject.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetDefaultThisObject | Gets the current default scope, which will be either the contained object of a with statement scope, or the global scope. |
![]() | GetField(String, BindingFlags) | Gets a field that has the specified name. (Inherited from ScriptObject.) |
![]() | GetField(String, Int32) | Gets a field that has the specified name by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level. |
![]() | GetFields | Gets an array of FieldInfo objects that correspond to all fields of the current script object. (Inherited from ScriptObject.) |
![]() | GetGlobalScope | Gets the global scope by searching the scope hierarchy until it finds a scope that includes static variables, for example, a module scope. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetMember | Retrieves an array of MemberInfo objects that correspond to all members that match a specified name. (Overrides ScriptObject::GetMember(String, BindingFlags).) |
![]() | GetMembers | Retrieves an array of MemberInfo objects that correspond to all members of the current object. (Overrides ScriptObject::GetMembers(BindingFlags).) |
![]() | GetMemberValue | Gets the value of the specified member by searching the scope hierarchy. This method searches only the scope that is specified by the lexical level. |
![]() | GetMethod(String, BindingFlags) | Gets a method that has the specified name. (Inherited from ScriptObject.) |
![]() | GetMethod(String, BindingFlags, Binder, array<Type>, array<ParameterModifier>) | Gets a method that has the specified name by using the specified selection criteria. (Inherited from ScriptObject.) |
![]() | GetMethods | Gets an array of MethodInfo objects that correspond to all methods of the current script object. (Inherited from ScriptObject.) |
![]() | GetParent | Gets a reference to the parent object. (Inherited from ScriptObject.) |
![]() | GetProperties | Gets an array of PropertyInfo objects that correspond to all properties of the current script object. (Inherited from ScriptObject.) |
![]() | GetProperty(String, BindingFlags) | Gets a property that has the specified name. (Inherited from ScriptObject.) |
![]() | GetProperty(String, BindingFlags, Binder, Type, array<Type>, array<ParameterModifier>) | Gets a property that has the specified name by using the specified selection criteria. (Inherited from ScriptObject.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InvokeMember | Invokes the specified member. (Inherited from ScriptObject.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | PushStackFrameForMethod | Creates a new StackFrame object for a method and pushes it onto the global scope stack. |
![]() ![]() | PushStackFrameForStaticMethod | Creates a new StackFrame object for a static method and pushes it onto the global scope stack. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | closureInstance | Stores a reference to the caller of the current stack frame. |
![]() | engine | Stores a reference to the scripting engine. (Inherited from ScriptObject.) |
![]() | localVars | Stores the local variables for this stack frame. |
![]() | parent | Stores a reference to the parent object. (Inherited from ScriptObject.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IActivationObject::GetLocalField | Gets the local declaration of a field that has the specified name. This method is used at compile time for error checking. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
