MSIR.0871 Error compiling implied Construct of class (classname) for class (classname): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "At the end of the Public block for an extension class, an implied constructor is generated if the Public block did not contain <tt>Disallow New</tt>. This implied constructor sim...")
 
m (1 revision)
(No difference)

Revision as of 16:45, 9 November 2010

At the end of the Public block for an extension class, an implied constructor is generated if the Public block did not contain Disallow New. This implied constructor simply contains a Construct statement for the New method of each base class.

The most likely cause of this error is that one of the base class New constructors has one or more required parameters. Either remove or make optional the base class constructor parameters, or write an explicit extension class constructor that passes the appropriate parameters to the base class constructor.