- Event handlers are registered via features
- Can be defined in elements.xml for list types and content types
- More commonly attached via feature receivers to specific list instances
- Rich options for kind of events you can handle in both Lists and List Items
- Subclass SPListEventReceiver
- Synchronous Events by convention ending in 'ing'
- FieldAdding, FieldUpdating, FieldDeleting
- Synchronous events can be cancelled
- Asynchronous Events by convention ending in 'ed'
- FieldAdded, FieldUpdated, FieldDeleted
- Use this to take action after an event completes
List Item Events
- Subclass SPItemEventReceiver
- Events
- ItemAdding, Added
- ItemUpdating, Updated
- ItemDeleting, Deleted
- ItemAttachmentAdding, Added, Deleting, Deleted
- ItemCheckingin, CheckedIn, UncheckingOut, UncheckedOut, CheckingOut, CheckedOut
- ItemFileMoving, Moved
- ItemFileCoverted