Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows phone 8 proximition.PeerFinder.Start()错误_Windows Phone 8_Runtime Error_Nfc - Fatal编程技术网

Windows phone 8 proximition.PeerFinder.Start()错误

Windows phone 8 proximition.PeerFinder.Start()错误,windows-phone-8,runtime-error,nfc,Windows Phone 8,Runtime Error,Nfc,我正在使用共享类在Win 8应用程序和Win Phone 8应用程序中创建NFC连接。当我运行应用程序时,在Windows.Networking.Proximition.PeerFinder.Start()行中出现以下错误:;在手机应用程序中 显示的错误如下所示: 你知道我为什么会犯这个错误吗?我在windows 8应用程序中没有收到此错误。下面我举一个例子: System.ArgumentException was unhandled by user code HResult=-2147024

我正在使用共享类在Win 8应用程序和Win Phone 8应用程序中创建NFC连接。当我运行应用程序时,在Windows.Networking.Proximition.PeerFinder.Start()行中出现以下错误:;在手机应用程序中 显示的错误如下所示:

你知道我为什么会犯这个错误吗?我在windows 8应用程序中没有收到此错误。下面我举一个例子:

System.ArgumentException was unhandled by user code
HResult=-2147024809
Message=Value does not fall within the expected range.
Source=Windows
StackTrace:
   at Windows.Networking.Proximity.PeerFinder.Start()
   at NFCTabApp.PeerConnector.AdvertiseForPeers()
   at NFCPhoneApp.MainPage.AdvertiseForPeersButton_Click(Object sender, RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
InnerException: