Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am trying to use the method "Dispatcher.BeginInvoke" in a Windows Phone 8.1 Universal App.
See here:

https://msdn.microsoft.com/en-us/library/windows/apps/cc190259(v=vs.105).aspx[^]

However, "Dispatcher.BeginInvoke" seems not to be existing!

"using System.Windows.Threading;" also does not exist!

I get the error message that the namesepace does not exist and I may be missing a reference assembly.

What shall I do?

I remember that I used this method in past when developing a Windows Phone 8.0 Project with VS 2013.

Now I have VS 2015 RC and a Windows 8.1 Universal App Project (but I am developing the Windows Phone 8.1 part of the project).


What is wrong?

Thanks for any hints!

Best wishes,
Miro
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900