I use .NET framework 2.0, and I want to cancel async. web service.
I tried to use "CancelAsync (object userstate)", but the web service is
still running.
This is my example code.
----------------------------------------------
MyService ws = new MyService();
ws.function1Completed += new
function1CompletedEnvetHandler(ws_function1Complet ed);
object userState;
ws.function1(userState);
Thread.Sleep(10000);
ws.CancelAsync (userState);
-------------------------------------
Thank you
Thanapol R.