0

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

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

4

1 回答 1

0

当 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, Note = "出城"
  3. UserEndpoint.OwnerURI = test.user@test.com, RemotePresentityNotification.PresentityUri = master.user@test.com, Note = "出城"
  4. UserEndpoint.OwnerURI = test.user@test.com, RemotePresentityNotification.PresentityUri = test.user@test.com, Note = ""
  5. UserEndpoint.OwnerURI = test.user@test.com, RemotePresentityNotification.PresentityUri = secondtest.user@test.com, Note = "出城"
于 2011-05-06T16:17:33.697 回答