EndPublishContactInformation中的ItemNotFoundException [英] ItemNotFoundException in EndPublishContactInformation

查看:71
本文介绍了EndPublishContactInformation中的ItemNotFoundException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更新Lync客户端状态。大部分时间它都有效,但偶尔我会在调用EndPublishContactInformation时得到Lync.Model.ItemNotFound异常。


 


 _self.BeginPublishContactInformation(
contactInfo,
delegate (IAsyncResult结果){
尝试 {
if (result.IsCompleted){
_self.EndPublishContactInformation(result);
}
}
catch (例外e){
< span style ="color:green"> // aargh !!
}
},
null
); <
pre>

解决方案

您要发布哪些项目? 并非所有自我存在项都可以使用模型API发布。


 


I'm trying to update the Lync client presence. Most of the time it works, but occasionally I get a Lync.Model.ItemNotFound exception on the call to EndPublishContactInformation.

 

 _self.BeginPublishContactInformation(
contactInfo,
delegate(IAsyncResult result){
try{
if (result.IsCompleted){
_self.EndPublishContactInformation(result);
}
}
catch (Exception e){
// aargh!!
}
},
null
);

解决方案

Which items are you publishing?  Not all self presence items can be published using the model API.

 


这篇关于EndPublishContactInformation中的ItemNotFoundException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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