I have a thread that call an object that get some stuff from Internet. When this object is filled up with all information required, it raises an event with an object will all th
Could a solution be to initialize the object on the main thread?
MyObject obj;
this.Dispatcher.Invoke((Action)delegate { obj = new MyObject() });
Edit: At a second read-through, this probably isn't a solution given your model. Are you receiving a runtime error as it is? If the object you're passing back is your own, ensuring the object is thread-safe could make CheckAccess unneccessary.