which thread a BeginInvoke's callback of a asynchronous delegate is in?
- by northTiger
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(...)
{
....
}