问题描述
我正在UCMA3.0 SDK中执行示例应用程序subscribepresence。 API remotePresenceView.StartSubscribingToPresentities抛出异常"端点必须处于Established状态才能执行此操作"。请告诉我
这个问题
I am executing sample application subscribepresence in UCMA3.0 SDK. The API remotePresenceView.StartSubscribingToPresentities throws the exception "The endpoint must be in Established state to perform this operation". Please advice me on this problem
试试
{
//订阅目标用户。
_target = new RemotePresentitySubscriptionTarget(_remoteUserUri);
_remotePresenceView.StartSubscribingToPresentities(
new RemotePresentitySubscriptionTarget [] {_target});
try
{
// Subscribe to target user.
_target = new RemotePresentitySubscriptionTarget(_remoteUserUri);
_remotePresenceView.StartSubscribingToPresentities(
new RemotePresentitySubscriptionTarget[] { _target });
是否我需要在Lync服务器中进行任何设置。
Whether I need to make any settings in Lync server.
提前致谢。
推荐答案
这篇关于端点必须处于Established状态才能执行此操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!