Hello all,
if(downloadThre ad.IsAlive)
{
downloadThread. Suspend();
DialogResult ans = MessageBox.Show (
downloadThread. ThreadState.ToS tring()
,"Application", MessageBoxButto ns.OK,MessageBo xIcon.Informati on);
..........
Though I try to suspend the thread it does not get suspended. And the status
is shown as suspendrequeste d,WaitSleepJoin . Why is it so? I am downloading
files from a URL, in the thread.
Thanks
Seesharp
-------------------------------------------------------------
Don't be dismayed at good-byes. A farewell is necessary before you can meet
again. And meeting again, after moments or lifetimes, is certain for those
who are friends.
~~~Illusions: The Adventures of a Reluctant Messiah
if(downloadThre ad.IsAlive)
{
downloadThread. Suspend();
DialogResult ans = MessageBox.Show (
downloadThread. ThreadState.ToS tring()
,"Application", MessageBoxButto ns.OK,MessageBo xIcon.Informati on);
..........
Though I try to suspend the thread it does not get suspended. And the status
is shown as suspendrequeste d,WaitSleepJoin . Why is it so? I am downloading
files from a URL, in the thread.
Thanks
Seesharp
-------------------------------------------------------------
Don't be dismayed at good-byes. A farewell is necessary before you can meet
again. And meeting again, after moments or lifetimes, is certain for those
who are friends.
~~~Illusions: The Adventures of a Reluctant Messiah