JavaScript Editor Ajax toolkit     Ajax website 

Main Page

The program contains the CLSCompliantAttribute attribute, and the compiler has detected a class member that is not Common Language Specification (CLS) compliant. Some possible causes of this error are:

There are several reasons a data type may not to be available in the common language runtime.

To correct this error

  1. Make sure that the member name does not start with an underscore (_), contain a dollar sign ($), or differ only in capitalization from the name of another member.

  2. Make sure that the parameters or return types for public methods and the types of public fields and properties are common language runtime data types or publicly accessible classes that have been marked as CLS compliant.

See Also


CLSCompliantAttribute Class


Troubleshooting Your Scripts
Writing CLS-Compliant Code
What is the Common Language Specification?

Other Resources

JScript Reference

JavaScript Editor Ajax toolkit     Ajax website