注释更改时,PresenceNotificationReceived RemotePresentityNotification.PersonalNote.Message为空字符串

时间:2011-05-06 14:41:09

标签: c# lync-2010 lync ucma

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

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

1 个答案:

答案 0 :(得分: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, 注意=“出城”
  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, 注意=“出城”