[Serializable] attribute on generated classes

P

Paul Buckley

Hi,
I'm passing a complex type, which I have defined, via a web service
method....in the client generated reference.cs I want the class to be marked
[Serializable] without having to do it myself manually. Is there any way to
do this? I've tried marking the complex type as [Serializable] in the web
service code but it isn't replicated on the client side. I'm trying to store
the objects passed back from the web methods in SqlState.

Thanks,

Paul.
 

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,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top