后台上传的实时SDK问题

编程入门 行业动态 更新时间:2024-10-27 14:31:06
本文介绍了后台上传的实时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问题

本文发布于:2023-11-26 05:48:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1632880.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:实时   后台   上传   SDK

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!