access list element from thread

Posted by phm on Stack Overflow See other posts from Stack Overflow or by phm
Published on 2010-03-18T09:49:00Z Indexed on 2010/03/18 9:51 UTC
Read the original article Hit count: 342

Filed under:
|
|
|
|

Hello

I have a "List" in the main application and I am trying to access its elements from within a thread. I am getting this exception: {"The calling thread cannot access this object because a different thread owns it."} System.SystemException {System.InvalidOperationException}

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf