Results 1 to 3 of 3

Thread: Setting timeout on a vb.net webservice.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2009
    Posts
    31

    Setting timeout on a vb.net webservice.

    Setting timeout on a vb.net webservice.
    Anyone know how to do this. :-)

  2. #2
    Stack Overflow mod​erator
    Join Date
    May 2008
    Location
    British Columbia, Canada
    Posts
    2,824

    Re: Setting timeout on a vb.net webservice.

    What do you mean by that, exactly? If you mean you want there to be a delay in returning a response, you would use
    Code:
    Threading.Thread.Sleep(number of milliseconds to wait)
    I think... but maybe it's different with web services?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2009
    Posts
    31

    Re: Setting timeout on a vb.net webservice.

    I've tried this and it doesnt seem to work>

    Code:
          
    <httpRuntime
            executionTimeout = "99999"
            maxRequestLength = "10000"
    />

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width