开发者

Sharepoint synchrounous event receivers

开发者 https://www.devze.com 2023-01-12 12:34 出处:网络
I have a question about the synchrounous event receivers in Sharepoint 2007. As example, lets look at the event ItemUpdating: Is it safe开发者_StackOverflow社区 to assume that the update operation wi

I have a question about the synchrounous event receivers in Sharepoint 2007.

As example, lets look at the event ItemUpdating: Is it safe开发者_StackOverflow社区 to assume that the update operation will succeed if I don't cancel it manually? I know the event could be cancelled by another event receiver. But assume that there is no other event receiver and that SP will act normally (no full DB or any other exceptional issues..)

I am asking because I want to perform some actions that makes only sense if the event was successful. However because the asynchrounous "event properties" lack a lot of information, I have to use the synchrounous events instead.

Thanks for feedback


Sounds like you want to use ItemUpdated instead of ItemUpdating. That way, you know the event was successfull and you can perform your actions. Otherwise, I think ItemUpdating works pretty well. Is there a reason you are worried?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号