SharePoint 中Event handlers 有两种风格: 同步的(synchronous)和异步的(asynchronous).
- Synchronous events 在处理事件的时候发生, 允许开发者在必要的情况下取消掉事件.
- Asynchronous event handlers 跟SPS2003和WSSv2的很像.
下面列出了SharePoint中所有的event handler, 注意 synchronous events 以-ing 结尾, Asynchronous event以-ed结尾.
Lists
===========
FieldAdded
FieldAdding
FieldDeleted
FieldDeleting
FieldUpdated
FieldUpdating
EmailReceived
ItemAdded
ItemAdding
ItemAttachmentAdded
ItemAttachmentAdding
ItemAttachmentDeleted
ItemAttachmentDeleting
ItemCheckedIn
ItemCheckedOut
ItemCheckingIn
ItemCheckingOut
ItemDeleted
ItemDeleting
ItemFileMoved
ItemFileMoving
ItemFileConverted
ItemUncheckedOut
ItemUncheckingOut
ItemUpdated
ItemUpdating
Sites
============
SiteDeleted
SiteDeleting
WebDeleted
WebDeleting
WebMoved
WebMoving
Content Types
============
FieldAdded
FieldAdding
FieldDeleted
FieldDeleting
FieldUpdated
FieldUpdating
EmailReceived
ItemAdded
ItemAdding
ItemAttachmentAdded
ItemAttachmentAdding
ItemAttachmentDeleted
ItemAttachmentDeleting
ItemCheckedIn
ItemCheckedOut
ItemCheckingIn
ItemCheckingOut
ItemDeleted
ItemDeleting
ItemFileMoved
ItemFileMoving
ItemFileConverted
ItemUncheckedOut
ItemUncheckingOut
ItemUpdated
ItemUpdating
资料摘译自:
SharePoint Event Handlers, Part 1
http://blogs.digineer.com/blogs/gregm/archive/2007/06/27/sharepoint-event-handlers-part-1.aspx