推送通知以定期约会:仅接收主项目的UpdatedEvent。 [英] Push Notifications for recurring appointments: UpdatedEvent is received only for master item.

查看:90
本文介绍了推送通知以定期约会:仅接收主项目的UpdatedEvent。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Exchange 2007 SP2并订阅我自己的C#Web服务来处理SendNotification操作。此服务支持传统的专有日历系统,该系统最近使用EWS托管API迁移到Exchange 2007。

I am using Exchange 2007 SP2 and subscribing my own C# web service to process the SendNotification operation. This service supports a legacy proprietary calendaring system which was recently migrated to exchange 2007 using the EWS managed api.



1.更改定期约会的单个事件的主题。这将创建一个例外项目。


1. Change the subject of an individual occurrence of a recurring appointment. This will create an exception item.

2。处理UpdatedEvent:使用master的ItemId接收它。

2. Process the UpdatedEvent: it is received with the ItemId of the master.

3。在主服务器上使用Appointment.Bind。这也请求UpdatedOccurrences集合。

3. Use Appointment.Bind on the master. This also requests the UpdatedOccurrences collection.

4。更改的事件出现在UpdatedOccurrences集合中,但是找不到它的主题没有直接的方法!假设只有一次定期约会发生了变化并触发了更新的事件。在这种情况下,我有
绑定到*每次出现约会以获得新主题。



我发现有关经常性任命的推送通知存在缺陷:您无法确定定期主数据或异常是否发生了变化。

4. The changed occurrence is present in the UpdatedOccurrences collection however there is no straightforward way to find its subject! Say only one occurrence of a recurring appointment got changed and that triggered the updated event. In that case I have to bind to *every* occurrence of the appointment to obtain the new subject.

I find push notifications for recurring appoinments flawed: you cannot determine whether the recurring master or an exception got changed.

  ;

推荐答案

Hello vp88,

Hello vp88,

我没有测试推送通知监听器设置现在所以我无法确认

I don't have a test push notification listener setup right now so I can't confirm

如果只更改了一次定期约会,那么Appointment.ModifiedOccurrences属性应该返回一个代表例外项目的约会标识符。如果是这种情况,那么您只需要将
绑定到单个项目以获取更新的主题。这个答案的估计值为60%。

If only one occurrence of a recurring appointment got changed, then the Appointment.ModifiedOccurrences property should return a single appointment identifier that represents the the exception item. If that is the case, then you would only need to bind to that single item to get the updated subject. This answer is given with an estimated 60% confidence.

关于, 


这篇关于推送通知以定期约会:仅接收主项目的UpdatedEvent。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆