This documentation is archived and is not being maintained.

JS1212: Cannot be abstract unless the declaring class is marked as abstract

The code has a member that is marked with the abstract modifier, but the class of which it is a member is not marked as abstract. A class must be marked as abstract if at least one member is abstract.

To correct this error

  • Make sure all classes with abstract members are marked as abstract.

See Also

Troubleshooting Your Scripts | JScript Reference | JScript Modifiers