Make task run on UI thread RRS feed

  • Question

  • I have an object that returns a Platform::Collections::Vector that is bound in the UI.  When I try to add items to it in a background thread I get an exception.  I assume that this is because I am modifying the object on a different thread from the UI.  Is there a way to make the task run on the UI thread?  I am using the PPL task class.
    Monday, January 14, 2013 5:07 PM