Multiple choice technology

To implement SiteDeleted and SiteDeleting events from which class we need to inherit from:

  1. SPSiteEventReceiver

  2. SPWebEventReceiver

  3. SPWebSiteEventReceiver

  4. SPListEventReceiver

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Site-level events like SiteDeleted and SiteDeleting are handled by SPWebEventReceiver. SPSiteEventReceiver does not exist in the SharePoint object model, and SPWebSiteEventReceiver is also not a valid class name.