Windows phone 8 proximition.PeerFinder.Start()错误
我正在使用共享类在Win 8应用程序和Win Phone 8应用程序中创建NFC连接。当我运行应用程序时,在Windows.Networking.Proximition.PeerFinder.Start()行中出现以下错误:;在手机应用程序中 显示的错误如下所示: 你知道我为什么会犯这个错误吗?我在windows 8应用程序中没有收到此错误。下面我举一个例子: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
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: