嘿,这里的人是我在我的应用程序中点击电话号码时得到的例外。我试图让用户点击电话号码并拨打它。Windows Phone 8应用程序 - 点击应用程序中的电话号码,导致未处理的异常
- $ exception {System.UnauthorizedAccessException:访问被拒绝。在Microsoft.Phone.Tasks.PhoneCallTask.NativeMethods.PhoneInitiateOutgoingPhoneCall_External(字符串pDialString,字符串pDisplayName) 在Microsoft.Phone.Tasks.PhoneCallTask.PhoneDial(对象phoneCallTask) 在的System.Threading:(0X80070005(E_ACCESSDENIED)从HRESULT异常)在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback回调,对象状态,布尔值)上执行的System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback回调,Object state,Boolean preserveSyncCtx) 在System.Threading.Threading.ThreadPoolWorkQueue.Dispa处的System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() 处保留SyncCtx) TCH() 在System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()} {的System.Exception} System.UnauthorizedAccessException的
你能告诉我们一些代码? – Kenneth 2013-04-27 09:57:43