Groups | Blog | Home
all groups > asp.net webservices > march 2005 >

asp.net webservices : Timeout Settings Doubt!!!


Vai2000
3/31/2005 10:57:01 AM
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

Manohar Kamath
3/31/2005 12:25:30 PM
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.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com


[quoted text, click to view]

AddThis Social Bookmark Button