Hi Marty,
Thank you for posting in the community! My name is Jeffrey, and I will be
assisting you on this issue.
=====================================================
I agree with mikeb's reply.
If a class contains no instance constructor declarations, a default
instance constructor is automatically provided. That default constructor
simply invokes the parameterless constructor of the direct base class.
Because your DIRECT base class constructor is inaccessible, If the direct
base class does not have an accessible parameterless instance constructor,
a compile-time error occurs.
More detailed information, please refer to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csspec/html
/vclrfcsharpspec_10_10_4.asp
Also, your inherited class's constructor will invoke the direct base
class's constructor. All instance constructors (except those for class
object) implicitly include an invocation of another instance constructor
immediately before the constructor-body.
An instance constructor initializer of the form base(argument-listopt)
causes an instance constructor from the direct base class to be invoked.
The set of candidate instance constructors consists of all accessible
instance constructors contained in the direct base class. If this set is
empty, or if a single best instance constructor cannot be identified, a
compile-time error occurs.
For more information, please refer to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csspec/html
/vclrfcsharpspec_10_10_1.asp
====================================================
Please apply my suggestion above and let me know if it helps resolve your
problem.
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Have a nice day!!
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.