Home » Microsoft » 70-489 » Which code segment should you add at line ER08?
You need to implement the notifications for the custom list app named Admin.
Which code segment should you add at line ER08?
A. public class EventReceiver1
B. public class EventReceiver1 : SPListEventReceiver
C. public class EventReceiver1 : SPItemEventReceiver
D. public class EventReceiver1 : SPEventReceiverBase
Correct Answer: C
Explanation/Reference:
SPItemEventReceiver class provides methods for trapping events that occur to items.
ItemAdded Handles the asynchronous event that occurs after an item is added.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.aspx