Selasa, 01 Februari 2011

Getting an invalid cross-thread exception in Silverlight?

Image this: you’re working on a Silverlight application, using the MVVM pattern, and you want to do something with the result of an async request (for example, you’re fetching persons, and you want to add them to a list in your VM when the operation completes).  Something like this: PersonServiceReference.PersonServiceClient client = new PersonServiceReference.PersonServiceClient();          

Tidak ada komentar:

Posting Komentar