wp8 interaction with unity3d

All samples and templates shows that the xaml layer reads what happening on the D3D layer.
Dispatcher.BeginInvoke(() => It works, no problem.

Is there any sample to use UnityApp.BeginInvoke? All i want to do is that let unity know when i touch/swipe the xaml layer.
(sorry for my basic english)

MSDN had a blog post about UnityApp.BeginInvoke. Hope that will help you achieve what you want: