which thread a BeginInvoke's callback of a asynchronous delegate is in?

Posted by northTiger on Stack Overflow See other posts from Stack Overflow or by northTiger
Published on 2010-05-16T21:11:27Z Indexed on 2010/05/16 21:20 UTC
Read the original article Hit count: 194

Filed under:
|

Which thread a BeginInvoke's callback of a asynchronous delegate is supposed to be in?
UI thread or a Thread Pool thread.

for example

private void button1_Click(object sender, EventArgs e) { Func func1 = LoadingDada; func1.BeginInvoke(IsDone, func1); }

string IsDone(...) { .... }

© Stack Overflow or respective owner

Related posts about winforms

Related posts about c#