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)

public enum SPEventReceiverType

Member nameDescription
InvalidReceiverIndicates that an invalid event receiver type has been specified.
ItemAddingAn event that occurs before an item has been added.
ItemUpdatingAn event 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.
ItemAttachmentAddingAn event 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.
ItemVersionDeletingAn event that occurs before a document version is deleted.
FieldAddingAn event that occurs before a field is added to a list.
FieldUpdatingAn event that occurs before a field is updated.
FieldDeletingAn event that occur before a field is removed from a list.
ListAddingAn event that occurs before a list is created.
ListDeletingAn event that occurs before a list is deleted.
SiteDeletingAn event that occurs before a site collection is deleted.
WebDeletingAn event that occurs before a site is deleted.
WebMovingAn event that occurs before site a site URL has been changed.
WebAddingAn event that occurs before a new site is created.
GroupAdding An event that occurs before a security group is added.
GroupUpdating An event that occurs before a security group is updated.
GroupDeleting An event that occurs before a security group is deleted.
GroupUserAdding An event that occurs before a user is added to a security group.
GroupUserDeleting An event that occurs before a user is deleted from a security group.
RoleDefinitionAdding An event that occurs before a role definition is added.
RoleDefinitionUpdating An event that occurs before a role definition is updated.
RoleDefinitionDeleting An event that occurs before a role definition is deleted.
RoleAssignmentAdding An event that occurs before a role assignment is added.
RoleAssignmentDeleting An event that occurs before a role assignment is deleted.
InheritanceBreaking An event that occurs before an inheritance is broken.
InheritanceResetting An event that occurs before an inheritance is restored.
WorkflowStartingAn event that occurs before a workflow starts running.
ItemAddedAn event that occurs after an item has been added.
ItemUpdatedAn event that occurs after an item has been updated.
ItemDeletedAn event that occurs after an item has been deleted.
ItemCheckedInAn event 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.
ItemAttachmentDeletedAn event 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.
ItemVersionDeletedAn event that occurs after a document version is deleted.
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.
ListAddedAn event that occurs after a list has been created.
ListDeletedAn event that occurs after a list has been deleted.
SiteDeletedAn event that occurs after a site collection has been deleted.
WebDeletedAn event that occurs after a site has been deleted.
WebMovedAn event 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.
GroupAdded An event that occurs after a security group is added.
GroupUpdated An event that occurs after a security group is updated.
GroupDeleted An event that occurs after a security group is deleted.
GroupUserAddedAn event that occurs after a user is added to a security group.
GroupUserDeleted An event that occurs after a user is deleted from a security group.
RoleDefinitionAdded An event that occurs after a role definition is added.
RoleDefinitionUpdated An event that occurs after a role definition is updated.
RoleDefinitionDeleted An event that occurs after a role definition is deleted.
RoleAssignmentAdded An event that occurs after a role assignment is added.
RoleAssignmentDeleted An event that occurs after a role definition is deleted.
InheritanceBroken An event that occurs after an inheritance is broken.
InheritanceReset An event that occurs after an inheritance is restored.
WorkflowStartedAn event that occurs after a workflow has started running.
WorkflowPostponedAn event that occurs after a workflow has been postponed.
WorkflowCompletedAn event that occurs after a workflow has completed running.
EntityInstanceAdded An event that occurs when an instance of an external content type has been added.
EntityInstanceUpdated An event that occurs when an instance of an external content type has been updated.
EntityInstanceDeletedAn event that occurs when an instance of an external content type has been deleted.
AppInstalledAn event that occurs after an app has successfully installed.
AppUpgradedAn event that occurs after an app has successfully upgraded.
AppUninstallingAn event that occurs when an app is about to be uninstalled.
EmailReceivedAn event that occurs after a list receives an email 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