Export (0) Print
Expand All
Expand Minimize

SPEventReceiverType Enumeration

Specifies the type of event that is handled by the Microsoft SharePoint Foundation event receiver.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[SubsetCallableTypeAttribute]
public enum SPEventReceiverType

Member nameDescription
InvalidReceiverIndicates that an invalid event receiver type has been specified.
ItemAddingEvent that occurs before an item has been added.
ItemUpdatingEvent that occurs before an item is updated.
ItemDeletingAn event that fires before an item is deleted.
ItemCheckingInAn event that occurs before an item has been checked in.
ItemCheckingOutAn event that occurs before an item is checked out.
ItemUncheckingOutAn event that occurs before an item is unchecked out.
ItemAttachmentAddingEvent that occurs before an attachment has been added to an item.
ItemAttachmentDeletingAn event that occurs before an attachment has been removed from the item.
ItemFileMovingAn event that occurs before a file is moved.
FieldAddingEvent that occurs before a field is added to a list.
FieldUpdatingEvent that occurs before a field is updated.
FieldDeletingAn event that occur before a field is removed from a list.
ListAddingEvent that occurs before a list is created.
ListDeletingAn event that occurs before a list is deleted.
SiteDeletingEvent that occurs before a site collection is deleted.
WebDeletingEvent that occurs before a site is deleted.
WebMovingEvent that occurs before site a site URL has been changed.
WebAddingAn event that occurs before a new site is created.
WorkflowStartingEvent that occurs before a workflow starts running.
ItemAddedEvent that occurs after an item has been added.
ItemUpdatedEvent that occurs after an item has been updated.
ItemDeletedAn event that occurs after an item has been deleted.
ItemCheckedInEvent that occurs after an item has been checked in.
ItemCheckedOutAn event that occurs after an item has been checked out.
ItemUncheckedOutAn event that occurs after an item has been unchecked out.
ItemAttachmentAddedAn event that occurs after an attachment has been added to the item.
ItemAttachmentDeletedEvent that occurs after an attachment has been removed from the item.
ItemFileMovedAn event that occurs after a file has been moved.
ItemFileConvertedAn event that occurs after a file is transformed from one type to another.
FieldAddedAn event that occurs after a field has been added.
FieldUpdatedAn event that occurs after a field has been updated.
FieldDeletedAn event that occurs after a field has been removed.
ListAddedEvent that occurs after a list has been created.
ListDeletedEvent that occurs after a list has been deleted.
SiteDeletedEvent that occurs after a site collection has been deleted.
WebDeletedEvent that occurs after a site has been deleted.
WebMovedEvent that occurs after a site URL has been changed.
WebProvisionedAn event that occurs after a new site has been created, but before that new site is provisioned.
WorkflowStartedEvent that occurs after a workflow has started running.
WorkflowPostponedEvent that occurs after a workflow has been postponed.
WorkflowCompletedAn event that occurs after a workflow has completed running.
EmailReceivedEvent that occurs after a list receives an e-mail message.
ContextEventIdentifies workflow event receivers, and is therefore not a true event type.

The current version of Microsoft SharePoint Foundation has expanded the range of both before and after events available to event receivers. Many of these can be used either synchronously or asynchronously.

Show:
© 2014 Microsoft