【问题标题】:PresenceNotificationReceived RemotePresentityNotification.PersonalNote.Message is empty string when note is changed更改注释时,PresenceNotificationReceived RemotePresentityNotification.PersonalNote.Message 为空字符串
【发布时间】:2011-05-06 14:41:08
【问题描述】:

现在我有一个RemotePresenceView 订阅PresenceNotificationReceived 事件。当我在 Lync 客户端中更改状态或注释时,该事件被正确触发,但当它处理该事件时,RemotePresentityNotification.PersonalNote.Message 是一个空字符串。 RemotePresentityNotification.AggregatedPresenceState 是正确的,但个人注释永远不会。这是怎么回事?

我也在微软论坛上发布了这个问题:http://social.msdn.microsoft.com/Forums/en-US/ucmanagedsdk/thread/70f249a8-9f55-4e85-b4e4-bd5d18727b9f/

【问题讨论】:

    标签: c# lync-2010 lync ucma


    【解决方案1】:

    当 RemotePresenceView 绑定的 UserEndpoint 的 OwnerUri 与 RemotePresentityNotification 的 PresentityUri 相同时,似乎会发生此问题。我通过更改 UserEndpoint 的帐户来修复它。以下是我测试将注释设置为“Out of town”时的示例结果:

    1. UserEndpoint.OwnerURI = master.user@test.com, RemotePresentityNotification.PresentityUri = master.user@test.com, 注意 = ""
    2. UserEndpoint.OwnerURI = master.user@test.com, RemotePresentityNotification.PresentityUri = test.user@test.com, 注意 =“出城”
    3. UserEndpoint.OwnerURI = test.user@test.com, RemotePresentityNotification.PresentityUri = master.user@test.com, 注意 =“出城”
    4. UserEndpoint.OwnerURI = test.user@test.com, RemotePresentityNotification.PresentityUri = test.user@test.com, 注意 = ""
    5. UserEndpoint.OwnerURI = test.user@test.com, RemotePresentityNotification.PresentityUri = secondtest.user@test.com, 注意 =“出城”

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-10-10
      • 2018-02-03
      • 2011-02-04
      • 2012-08-13
      • 1970-01-01
      • 2019-01-07
      • 2018-03-31
      • 1970-01-01
      相关资源
      最近更新 更多