I wrote a code that i wan to call worker thread to get some info from wcf service , but when i debugg it, i find out that main thread is still running
ThreadPool.QueueUserWorkItem(o =>
{
ServiceConnection sc = new ServiceConnection();
Deployment.Current.Dispatcher.BeginInvoke(()=>
{
rowDetail rwdetail = new rowDetail(sc.getHistoryInformation(((Historyreport)e.AddedItems[0]).rowCode));
rwdetail.Show();
}
);});