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?
LVL 1
DodsworthAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
0
DodsworthAuthor Commented:
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 ?
0
Jacques Bourgeois (James Burger)PresidentCommented:
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.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

DodsworthAuthor Commented:
Anyone?
0
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.
0
DodsworthAuthor Commented:
Dispatcher.BeginInvoke(Function() MessageBox.Show("Tag Arrived. id = " & proximityDevice.DeviceId))

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DodsworthAuthor Commented:
sorted
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.