New Events in SharePoint 2010

Posted Thursday, October 22, 2009 10:52 AM by CoreyRoth

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.

Comments

# New Events in SharePoint 2010 – Corey Roth – DotNetMafia.com – Tip …

Pingback from  New Events in SharePoint 2010 – Corey Roth – DotNetMafia.com – Tip …

# New Events in SharePoint 2010 – Corey Roth – DotNetMafia.com – Tip …

Pingback from  New Events in SharePoint 2010 – Corey Roth – DotNetMafia.com – Tip …

# Social comments and analytics for this post

Saturday, October 24, 2009 11:43 PM by uberVU - social comments

This post was mentioned on Twitter by coreyroth: #SharePoint Post: New Events in SharePoint 2010 http://bit.ly/4tr1BI

Leave a Comment

(required)
(required)
(optional)
(required)