"The type has no constructors defined"?

D

Dave

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.
 
T

Teemu Keiski

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.
 

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

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,614
Members
45,289
Latest member
stfp04

Latest Threads

Top