Protection Problem
-
Hi! I have base class and few children. I created in another class the and array of the base class to contain other children classes and when i try to create new one i get this: Error 1 'VAControls.SchedulerNowTask.SchedulerNowTask(System.Xml.XmlNode)' is inaccessible due to its protection level C:\Documents and Settings\Yossi_Tubis\My Documents\Visual Studio 2005\Projects\VASchedular\VASchedular\clsScheduler.cs 215 75 VASchedular all the children get the XMLNode Class, and run the base constructor. where is the protection level?? Thanks :) :)
-
Hi! I have base class and few children. I created in another class the and array of the base class to contain other children classes and when i try to create new one i get this: Error 1 'VAControls.SchedulerNowTask.SchedulerNowTask(System.Xml.XmlNode)' is inaccessible due to its protection level C:\Documents and Settings\Yossi_Tubis\My Documents\Visual Studio 2005\Projects\VASchedular\VASchedular\clsScheduler.cs 215 75 VASchedular all the children get the XMLNode Class, and run the base constructor. where is the protection level?? Thanks :) :)
The protection level refers to whether or not this is public, private, protected, etc. It looks like you need to make it internal or public.
Deja View - the feeling that you've seen this post before.