Timeout Settings Doubt!!!

V

Vai2000

Hi All, What's the difference between
Timeout on the Webservice proxy object and Timeout on the auto generated
Proxy

//
foo.aspx.cs
localhost.MyWebSvc svc=new localhost.MyWebSvc();
svc.Timeout=1000;

// auto generated proxy
// WebReferences/localhost/Reference.cs
this.Timeout=5000;


TIA
 
M

Manohar Kamath

None... the Timeout in the autogen proxy is probably in the constructor,
right? That means, you are setting the default timeout for proxy. In the
first code snippet you are overriding this property to another value.
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top