Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Timeout Settings Doubt!!!

Reply
Thread Tools

Timeout Settings Doubt!!!

 
 
Vai2000
Guest
Posts: n/a
 
      03-31-2005
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


 
Reply With Quote
 
 
 
 
Manohar Kamath
Guest
Posts: n/a
 
      03-31-2005
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


"Vai2000" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Settings.settings file with settings for multiple regions donet programmer ASP .Net 3 11-20-2009 03:05 PM
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
Session contents lost despite Session.Timeout = 3000; and <sessionState mode="InProc" cookieless="false" timeout="300"> Carpe Diem ASP .Net 3 02-23-2004 07:10 PM
web.config session timeout and forms authentication timeout Do ASP .Net 2 11-23-2003 02:27 PM
Re: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Bob Johnson ASP .Net 0 08-07-2003 12:52 PM



Advertisments