0
上传5mb文件不成问题,但当我尝试上传14mb时,我的应用程序已关闭。无法通过我的wp7设备上的LiveSDK将14mb文件上传到SkyDrive
fileStream = // get some file as stream from isolated storage
uploadClient = new LiveConnectClient(session);
uploadClient.UploadCompleted += new EventHandler<LiveOperationCompletedEventArgs>(uploadClient_UploadCompleted);
uploadClient.UploadAsync("me/skydrive", "filename", fileStream, OverwriteOption.Overwrite, null);
异常(见截图):
A first chance exception of type 'System.NotSupportedException' occurred in System.Windows.dll
Addtional information: NotSupportedException"
当我使用BackgroundUploadAsync代替UploadAsync文件传输,但有大小为0
任何人都知道的解决方案这个问题?
可能有很多因素到位。显示引发异常的代码片段,并显示异常详细信息。 – 2013-04-07 16:37:58
你可以附加调试器来看看你得到了什么样的异常吗? – outcoldman 2013-04-07 17:31:12