本文介绍了后台上传的实时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问题
发布评论