Asynchronoius WS calls doesn't return

  • Thread starter Thread starter Alberto Tronchin
  • Start date Start date
A

Alberto Tronchin

Hi,
I'm developing a mobile application that invoke a
WebService in asynchronous mode.
I have few problems when mobile application uses GPRS
connection: sometimes an asynchronous call doesn't return.
Can I kill that thread (CF doesn't support .Abort
method) ?
How can I do for kill all suspended threads before
application closing ?

thanks.
Alberto
 
No Alberto unfortuantely the CF does not support the .Abort method. The
best way to terminate your thread is to create a global boolean that you
can set to false from outside your thread.

Sincerely;
Anthony Cangialosi

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Alberto Tronchin" <[email protected]>
| Sender: "Alberto Tronchin" <[email protected]>
| Subject: Asynchronoius WS calls doesn't return
| Date: Fri, 11 Jul 2003 08:48:43 -0700
| Lines: 12
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNHw+f2WpXs8zRWTaqxeq4U9zCorQ==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:28003
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi,
| I'm developing a mobile application that invoke a
| WebService in asynchronous mode.
| I have few problems when mobile application uses GPRS
| connection: sometimes an asynchronous call doesn't return.
| Can I kill that thread (CF doesn't support .Abort
| method) ?
| How can I do for kill all suspended threads before
| application closing ?
|
| thanks.
| Alberto
|
 
Back
Top