Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/279.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
C# Google Drive API在按WP8键时出现异常_C#_Windows Phone 8_Google Drive Api - Fatal编程技术网

C# Google Drive API在按WP8键时出现异常

C# Google Drive API在按WP8键时出现异常,c#,windows-phone-8,google-drive-api,C#,Windows Phone 8,Google Drive Api,我正在开发windows phone 8应用程序,可在google drive上上传和下载文件。当我按下设备的后退键时,我遇到问题 这是错误 An attempt was made to transition a task to a final state when it had already completed. 下面是此错误的StackTrack 位于System.Threading.Tasks.TaskCompletionSource`1.SetCancelled() 在Google.

我正在开发windows phone 8应用程序,可在
google drive
上上传和下载文件。当我按下设备的
后退键时,我遇到问题

这是错误

An attempt was made to transition a task to a final state when it had already completed.
下面是此错误的StackTrack

位于System.Threading.Tasks.TaskCompletionSource`1.SetCancelled() 在Google.api.Auth.OAuth2.webauthenticationbrokersercontrol.RootPage\u BackKeyPress(对象发送方,CancelEventArgs e) 位于Microsoft.Phone.Controls.PhoneApplicationPage.Microsoft.Phone.Controls.IPhoneApplicationPage.InternalOnBackKeyPress(取消事件参数e) 在System.Windows.Navigation.Journal.SystemKeyPressed处(NavigationSystemKey systemKeyType) 在Microsoft.Phone.TaskModel.Interop.Task.FireOnSystemKeyPressed(Int32 systemKeyType)中

我在这个问题上搜索了很多,但没有得到任何帮助。我在stackoverflow上发现了相同的问题,但没有回答这个问题。


问题是什么?为什么我会遇到这个问题?

这里也有同样的问题。不过我正在努力解决这个问题。如果我这样做了,我会发回的。