Timeout Settings Doubt!!!

Discussion in 'ASP .Net Web Services' started by Vai2000, Mar 31, 2005.

  1. Vai2000

    Vai2000 Guest

    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
     
    Vai2000, Mar 31, 2005
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:%...
    > 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, Mar 31, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Siegfried Heintze
    Replies:
    0
    Views:
    2,285
    Siegfried Heintze
    Oct 24, 2005
  2. leeanne
    Replies:
    0
    Views:
    1,881
    leeanne
    Sep 24, 2008
  3. donet programmer
    Replies:
    3
    Views:
    1,560
    Gregory A. Beamer
    Nov 20, 2009
  4. Naveen Kumar

    Doubt in Forms authentication configuration settings

    Naveen Kumar, Apr 1, 2005, in forum: ASP .Net Security
    Replies:
    1
    Views:
    203
    Teemu Keiski
    Apr 5, 2005
  5. Mark Probert

    Timeout::timeout and Socket timeout

    Mark Probert, Oct 6, 2004, in forum: Ruby
    Replies:
    1
    Views:
    1,298
    Brian Candler
    Oct 6, 2004
Loading...

Share This Page