benny dating sites Itemupdating vs itemupdated

While developing any application we need to handle some events.

There are basically two types of event receivers: Synchronous and Asynchronous event receivers.Synchronous event receivers are also known as ‘Before’ event receivers.They are used to perform some custom action before an event occurs.In this case, there is a flexibility of cancelling the event on some conditions so that the event that gets initiated will not occur.Asynchronous event receivers are also known as ‘After’ event receivers.

They are used to perform some custom action after an event occurs.

These events are asynchronous because they need not happen immediately after the event is performed. SPWeb Event Receiver : This provides event handling whenever a site or a site collection is deleted or moved Each of the classes has some virtual methods which are to be over-ridden to perform our custom action. Methods under the class SPWeb Event Receiver handle site level events. Site Deleted – This occurs after a site collection is deleted.

They can happen sometime later also, unlike synchronous event receivers which occur immediately before an event occurs. SPEmail Event Receiver : This provides event handling whenever a user sends an email to a list on which e-mail feature is enabled Microsoft. SPFeature Receiver : This provides event handling whenever is feature is acted upon Microsoft. SPItem Event Receiver : This provides event handling whenever any action is performed on a list item Microsoft. SPList Event Receiver : This provides event handling whenever a list definition is modified like adding or deleting columns and modifying existing columns. Site Deleting – This occurs before a site collection is being deleted.

There are fundamentally five classes for Event Receivers for Share Point 2007. Web Deleted – This occurs after a website has been deleted completely. Web Deleting – This occurs before a website is deleted. Web Moved – This occurs after an existing website is moved. Web Moving – This occurs before a website is moved. Methods under the class SPList Event Receiver handle list level events. Field Added – This occurs after a field link is added to a list.

Field Adding – This occurs when is field is being added to a content type.

Field Deleted – This occurs after a field is deleted from a list.