我正在开发在google drive
上传和下载文件的Windows Phone 8应用程序。当我按下设备的back key
时,我遇到了问题。
以下是错误
An attempt was made to transition a task to a final state when it had already completed.
此错误的 StackTrack
at System.Threading.Tasks.TaskCompletionSource`1.SetCanceled() at Google.Apis.Auth.OAuth2.WebAuthenticationBrokerUserControl.RootPage_BackKeyPress(Object sender,CancelEventArgs e) 在Microsoft.Phone.Controls.PhoneApplicationPage.Microsoft.Phone.Controls.IPhoneApplicationPage.InternalOnBackKeyPress(CancelEventArgs e) 在System.Windows.Navigation.Journal.SystemKeyPressed(NavigationSystemKey systemKeyType) 在Microsoft.Phone.TaskModel.Interop.Task.FireOnSystemKeyPressed(Int32 systemKeyType)
我在这个问题上搜索了很多但没有得到任何帮助。我在stackoverflow上发现了同样的问题,但没有回答这个问题。 https://stackoverflow.com/questions/22478605/google-drive-api-getting-an-exception-on-wp8
问题是什么?为什么我会遇到这个问题?