Microsoft really answered the call of developers by adding several new events that developers had been wanting in MOSS 2007. Event better, Visual Studio 2010 really makes it easy by using the new Add Event Receiver wizard. It provides an interface with all of the possible things you might want to implement and then creates them in a class for you. When it comes to feature receivers, I’ll point out that SPFeatureReceiver no longer requires you to implement every method. You can now just create Event Handling methods for the events you care about.
Here is a list of the new events.
- FeatureUpgrading
- WebAdding
- WebProvisioned
- ListAdding
- ListAdded
- ListDeleting
- ListDeleted
- WorkflowStarting
- WorkflowStarted
- WorkflowPostponed
- WorkflowCompleted
Hopefully, what the events do is obvious from their names. Of course, the name of these events might change at some point in the future. I would like to see the WebProvisioned event be renamed WebAdded personally.