Overloaded web method

  • Thread starter Thread starter Raj
  • Start date Start date
R

Raj

Hi,

Is it possible to have overloaded web method (C#, framework)?

If yes which is the best flexible way to do it?

Thanks
-raj
 
Raj,
If you are referring to ASP.NET WebService "webmethod", yes you can. The
rules are the same as overloading any C# method, plus you must ensure that
the MessageName attribute of each overload is unique.
Peter
 

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

Back
Top