🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #22036

AsyncWaitHandle.WaitOne

#22036
From: shark
Date: Wed, 09 Feb 2011 11:51
8 lines
1590 bytes
I'm using following code to wait for web service response:
bool bTO = result1.AsyncWaitHandle.WaitOne(Timeout, true);
where Timeout = 10000;
I've the question, why if timeout occures my bTO is set to true?
Additionally, framework calls my CallBack function which informs me
that my WebMethod is finished whereas it is not.
Could somebody help me?
Thx
Technical Details
Message-ID: <ed396e4c-8df3-4ee8-89af-b9dc231f5c6e@s11g2000yqh.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!plix.pl!newsfeed1.plix.pl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!s11g2000yqh.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!plix.pl!newsfeed1.plix.pl!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!s11g2000yqh.googlegroups.com!not-for-mail
From: shark <arek.shark@gmail.com>
Newsgroups: alt.pl.comp.lang.csharp
Subject: AsyncWaitHandle.WaitOne
Date: Wed, 9 Feb 2011 03:51:35 -0800 (PST)
Organization: http://groups.google.com
Lines: 8
Message-ID: <ed396e4c-8df3-4ee8-89af-b9dc231f5c6e@s11g2000yqh.googlegroups.com>
NNTP-Posting-Host: 80.51.168.2
Mime-Version: 1.0
X-Trace: posting.google.com 1297252295 4964 127.0.0.1 (9 Feb 2011 11:51:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 9 Feb 2011 11:51:35 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: s11g2000yqh.googlegroups.com; posting-host=80.51.168.2; posting-account=GVgKVgoAAAB4N-lROyKN1p4nIzMZ3QfZ
User-Agent: G2/1.0
X-HTTP-Via: 1.0 proxy (squid/3.1.10)
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13,gzip(gfe)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit