后台上传的实时SDK问题 [英] Live SDK problem with background uploading

查看:63
本文介绍了后台上传的实时SDK问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我尝试使用Windows Phone 7中的Live SDK上传音频文件(3兆字节)。一切正常,直到上传完成,它总是抛出ObjectDisposeException。但是这个文件正确地在skydrive上并且100%上传就是它即使在try catch中也会引发异常。



代码:

So Im trying to upload an audio file (3 megabytes) using the Live SDK in Windows Phone 7. Everything works fine until the upload is finish where it always throw an ObjectDisposeException. But the file is on the skydrive correctly and gets to 100% upload is just that it throws the exception even in a try catch.

code:

client.BackgroundUploadAsync("me/skydrive/",
                  new Uri("/shared/transfers/" + song.ID, UriKind.RelativeOrAbsolute), OverwriteOption.Rename, "mdfs");





有什么想法吗?



Any ideas?

推荐答案

你好吗?歌曲到目录/ shared / transfers /,然后上传
Firt you shoud copy the song to the directory /shared/transfers/ ,then upload


这篇关于后台上传的实时SDK问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆