Link to home
Start Free TrialLog in
Avatar of Dodsworth
Dodsworth

asked on

Dispatcher.RunAsync Method Problem

I downloaded a sample from

http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.proximity.proximitymessage.aspx

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?
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

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.
Avatar of Dodsworth
Dodsworth

ASKER

Hmm.  I must have skipped that and read only

Minimum supported phone
 Windows Phone 8

Capabilities
 proximityID_CAP_PROXIMITY [Windows Phone]

So is this an example of how to read NFC data FROM a Windows Phone using Windows 8 ?
Ooops.

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.
Anyone?
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.
ASKER CERTIFIED SOLUTION
Avatar of Dodsworth
Dodsworth

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sorted