Asynchronoius WS calls doesn't return

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
 
A

Anthony Cangialosi [MS]

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
|
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top