How can I customize the SharePoint event receiver?

How can I customize the SharePoint event receiver?

On the menu bar, choose Project > Add New Item. Under either Visual C# or Visual Basic, expand the SharePoint node, and then choose the 2010 item. In the Templates pane, choose Event Receiver, name it TestEventReceiver1, and then choose the OK button. The SharePoint Customization Wizard appears.

How to add event receiver to the list?

To add an event receiver to the list instance Open the project that you created in Walkthrough: Create a site column, content type, and list for SharePoint. In Solution Explorer, choose the SharePoint project node, which is named Clinic. On the menu bar, choose Project > Add New Item.

How to create a table of SharePoint events?

Lists the types of SharePoint objects (SPSite, SPWeb, etc.) to which each of the event receivers is able to bind. Each table, then, provides a list of event types, the event receivers that define them and the event host types that can bind to the specified receiver.

How to list event types in SharePoint Foundation?

The tables that follow list the allowable associates with respect to event types, event receiver type, and event host type. Each of the following tables represents a set of event types (Site events, Web events, List events, List Field events, and Item events) in SharePoint Foundation.

What are the base classes for SharePoint event receivers?

Base class: Microsoft.SharePoint.SPEventReceiverBase. Base class for List Item: Microsoft.SharePoint.SPItemEventReceiver Base class for SharePoint List: Microsoft.SharePoint.SPListEventReceiver Base class for Email: Microsoft.SharePoint.SPEmailEventReceiver Open Your Visual Studio and create a new Project.

Where does the spremoteeventproperties object go in SharePoint?

The SPRemoteEventProperties object is sent to your handler web service as a SOAP message that contains context information from SharePoint, including an EventType property that identifies the event.