2011-05-06 55 views
0

現在我有一個RemotePresenceView訂閱了PresenceNotificationReceived事件。當我在Lync客戶端中更改存在或筆記時,該事件正確地被觸發,但當它處理該事件時,RemotePresentityNotification.PersonalNote.Message是空字符串。 RemotePresentityNotification.AggregatedPresenceState是正確的,但個人筆記從來沒有。這是怎麼回事?PresenceNotificationReceived RemotePresentityNotification.PersonalNote.Message在註釋更改時爲空字符串

我也有問題發佈在微軟論壇上:http://social.msdn.microsoft.com/Forums/en-US/ucmanagedsdk/thread/70f249a8-9f55-4e85-b4e4-bd5d18727b9f/;

回答

0

當RemotePresenceView綁定的UserEndpoint的OwnerUri與RemotePresentityNotification的PresentityUri相同時,它看起來會發生此問題。我通過更改UserEndpoint的帳戶來修復它。下面是我測試設置的說明,以 「出城」 的例子的結果:

  1. UserEndpoint.OwnerURI = [email protected], RemotePresentityNotification.PresentityUri = [email protected], 注= 「」
  2. UserEndpoint.OwnerURI = [email protected], RemotePresentityNotification.PresentityUri = [email protected], 注= 「出城」
  3. UserEndpoint.OwnerURI = test.user @ test.com, RemotePresentityNotification.PresentityUri = [email protected], 注=「Out鎮」
  4. UserEndpoint.OwnerURI = [email protected], RemotePresentityNotification.PresentityUri = [email protected], 注= 「」
  5. UserEndpoint.OwnerURI = [email protected] , RemotePresentityNotification.PresentityUri = [email protected], 注=「出城」