2
Answers

Abort thread dont work.

Ask a question
Pavol

Pavol

11y
1.2k
1
Hi
Abort() thread dont work.
I got the following code:

class communication

private UdpClient client;

{

public communication()

{
    t = new Thread(new ThreadStart(listen));

}

public void listen()

{......}

}


and in form1 i got the code:

communication com=new commnunication();

com.t.Start();     //start thread works

.

.

.

any code

com.t.Abort();     //abort thread dont works

Why dont works abort thread?




Answers (2)