"The type has no constructors defined"?

Discussion in 'ASP .Net Building Controls' started by Dave, Oct 26, 2007.

  1. Dave

    Dave Guest

    I'm trying to inherit from the following in my class, but I get:

    The type 'System.Web.Services.Protocols.WebClientAsyncResult' has no
    constructors defined

    Not sure exactly what this means? Does it mean the class cannot be
    inherited?. Dave.
    Dave, Oct 26, 2007
    1. Advertisements

  2. Dave

    Teemu Keiski Guest

    In a way yes, because it doesn't have public or protected constructor, only
    an internal one- E.g it means that only Framework code itself can
    instantiate this class. HttpSimpleClientProtocol class is one that
    instantiates this type in BeginInvoke method.
    Teemu Keiski, Oct 28, 2007
    1. Advertisements

Ask a Question

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 (here). After that, you can post your question and our members will help you out.