Because the nested elements are part of the top level section handler. .NET
just wants to find the code that knows how to deal witih the top level element.
The rest of the child elements are up to the section handler to validate.
Well, I mean on the same level as <appSettings> and <configSections> in
the web.config. If I define my custom section inside a custom 'group
section', my section handler is never called, but when I move it out from
the 'group section', then my handler class is called.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.