ErrorConstructor Members
Collapse the table of content
Expand the table of content

ErrorConstructor Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a prototype-based object that is defined by a constructor function. This class belongs to the built-in object model category.

The ErrorConstructor type exposes the following members.

  NameDescription
Public method AddField Adds the specified field to the object. (Inherited from JSObject.)
Public method CreateInstance Creates an instance of the prototype-based object, passing in the specified arguments.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetField Gets a field that has the specified name. (Inherited from ScriptObject.)
Public method GetFields Gets an array of FieldInfo objects that correspond to all fields of the current script object. (Inherited from ScriptObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMember Gets an array of MemberInfo objects that correspond to all members that match the specified name. (Inherited from JSObject.)
Public method GetMembers Gets an array of MemberInfo objects that correspond to all members of the current script object. (Inherited from JSObject.)
Public method GetMethod Overloaded. Gets a method that has a specified name.
Public method GetMethods Gets an array of MethodInfo objects that correspond to all methods of the current script object. (Inherited from ScriptObject.)
Public method GetParent Gets a reference to the parent object. (Inherited from ScriptObject.)
Public method GetProperties Gets an array of PropertyInfo objects that correspond to all properties of the current script object. (Inherited from ScriptObject.)
Public method GetProperty Overloaded. Gets a property that has a specified name.
Protected method GetPrototypeForConstructedObject Gets the prototype object for this constructor function. (Inherited from ScriptFunction.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Invoke Overloaded. Invokes a method of a prototype-based object.
Public method InvokeMember Invokes the specified member. (Inherited from ScriptFunction.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetMemberValue2 Sets the value of a field that was dynamically added to the object and stored in field_table. (Inherited from JSObject.)
Public method ToString Returns a string representation of the constructor function. (Inherited from ScriptFunction.)
Top

  NameDescription
Public field engine Stores a reference to the scripting engine. (Inherited from ScriptObject.)
Protected field field_table Stores a list of fields that are dynamically added and removed from the object. (Inherited from JSObject.)
Protected field ilength Stores the number of elements that are in the args parameter of the CreateInstance method. (Inherited from ScriptFunction.)
Protected field parent Stores a reference to the parent object. (Inherited from ScriptObject.)
Top

  NameDescription
Public property Item Overloaded. Gets or sets a member of the script object.
Public property length Gets or sets the number of elements that are in the args parameter of the CreateInstance method. (Inherited from ScriptFunction.)
Public property prototype Gets or sets the prototype object for this constructor function. (Inherited from ScriptFunction.)
Public property UnderlyingSystemType Gets the type of the script object. (Inherited from ScriptObject.)
Top

  NameDescription
Explicit interface implemetation Private method IExpando.AddMethod Adds the specified method to the object. IExpando.AddMethod is not implemented in JScript. (Inherited from JSObject.)
Explicit interface implemetation Private method IExpando.AddProperty Adds the specified property to the object. This method is not implemented in JScript. (Inherited from JSObject.)
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the members of the object. (Inherited from JSObject.)
Explicit interface implemetation Private method IExpando.RemoveMember Removes the specified member from the object. (Inherited from JSObject.)
Top

Community Additions

ADD
Show:
© 2016 Microsoft