Dispatcher.RunAsync Method Problem

I downloaded a sample from


But there's is no Dispatcher.RunAsync Method in Windows Phone 8.

I have Dispatcher.BeginInvoke but can't get how to finish it ?

Any ideas?
Who is Participating?
DodsworthConnect With a Mentor Author Commented:
Dispatcher.BeginInvoke(Function() MessageBox.Show("Tag Arrived. id = " & proximityDevice.DeviceId))

Open in new window

Jacques Bourgeois (James Burger)PresidentCommented:
Be careful when you reference something from the Microsoft site. Not that its bad, it is usually not the case, but because an important piece of information is located at the bottom of the page:

Minimum supported client:  Windows 8 [Windows Store apps, desktop apps]

This sample is not for Windows Phone, it is for a Windows Store or standard Windows Application. Because of memory restrictions, Windows Phone applications are limited in their use of standard .NET framework features.

I cannot unfortunately tell you if there is an equivalent of what you found for Windows Phone. Just tell you to be careful in your searches and always check for the supported environments for any class, property or method that you find that might look as if it could fill your needs.
DodsworthAuthor Commented:
Hmm.  I must have skipped that and read only

Minimum supported phone
 Windows Phone 8

 proximityID_CAP_PROXIMITY [Windows Phone]

So is this an example of how to read NFC data FROM a Windows Phone using Windows 8 ?
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Jacques Bourgeois (James Burger)PresidentCommented:

I did not noticed that they changed the way they present things in the documentation for Windows Store and Windows 8.

In the main documentation for the framework, all the supported platforms are listed on one line. Out of an old habit, I did not think of going further than Minimum supported client.

I stand corrected.

Good luck in your search for a solution.
DodsworthAuthor Commented:
Jacques Bourgeois (James Burger)PresidentCommented:
Add to your topics to include more of the framework. Since Dispatcher comes from the framework, it is independent from the language. Programmers who work in another language might be able help you.
DodsworthAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.