Table of SharePoint Events, Event Receivers, and Event Hosts

Applies to: SharePoint Foundation 2010

The Microsoft SharePoint Foundation event model restricts the events that can be defined by each event receiver class, and restricts the host types that can be associated with each event receiver type. The tables that follow list the allowable associates with respect to event types, event receiver type, and event host type.

Tables of Event Receiver Bindings

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. The table then lists the allowable event receiver base types from which that event can inherit to define that event (or event collection). Finally, the table lists which object types are capable of hosting the event receivers.

The columns for each of these tables are organized as follows:

  1. Events. Lists the available events for the event type (site, web, list, etc.)

  2. Receiver Base Class. Lists the SharePoint event receiver base classes that you can inherit from to define the event collection.

  3. Event Host Type. 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.

Site Events

Site Events

Receiver Base Class

Event Host Type

SiteDeleting(SPWebEventProperties)

SiteDeleted(SPWebEventProperties)

SPWebEventReceiver

SPSite

Web Events

Web Events

Receiver Base Class

Event Host Type

WebAdding(SPWebEventProperties)

WebProvisioned(SPWebEventProperties)

WebDeleting(SPWebEventProperties)

WebDeleted(SPWebEventProperties)

WebMoving(SPWebEventProperties)

WebMoved(SPWebEventProperties)

SPWebEventReceiver

SPSite

SPWeb

List Events

List Events

Receiver Base Class

Event Host Type

ListAdding(SPListEventProperties)

ListAdded(SPListEventProperties)

ListDeleting(SPListEventProperties)

ListDeleted(SPListEventProperties)

SPListEventReceiver

SPSite

SPWeb

List Field Events

List Field Events

Receiver Base Class

Event Host Type

FieldAdding(SPListEventProperties)

FieldAdded(SPListEventProperties)

FieldDeleting(SPListEventProperties)

FieldDeleted(SPListEventProperties)

FieldUpdating(SPListEventProperties)

FieldUpdated(SPListEventProperties)

SPListEventReceiver

SPSite

SPWeb

SPList

SPContentType

Item Events

Item Events

Receiver Base Class

Event Host Type

ItemAdding(SPItemEventProperties)

ItemAdded(SPItemEventProperties)

ItemDeleting(SPItemEventProperties)

ItemDeleted(SPItemEventProperties)

ItemUpdating(SPItemEventProperties)

ItemUpdated(SPItemEventProperties)

ItemFileConverted(SPItemEventProperties)

ItemFileMoving(SPItemEventProperties)

ItemFileMoved(SPItemEventProperties)

ItemCheckingIn(SPItemEventProperties)

ItemCheckedIn(SPItemEventProperties)

ItemCheckingOut(SPItemEventProperties)

ItemCheckedOut(SPItemEventProperties)

ItemAttachmentAdding(SPItemEventProperties)

ItemAttachmentAdded(SPItemEventProperties)

ItemAttachmentDeleting(SPItemEventProperties)

ItemAttachmentDeleted(SPItemEventProperties)

SPItemEventReceiver

SPSite

SPWeb

SPList

SPContentType

See Also

Concepts

Catalog of SharePoint Foundation Events