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

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top