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)

Syntax

'Declaration
Public Enumeration SPEventReceiverType
'Usage
Dim instance As SPEventReceiverType
public enum SPEventReceiverType

Members

Member name Description
InvalidReceiver Indicates that an invalid event receiver type has been specified.
ItemAdding An event that occurs before an item has been added.
ItemUpdating An event that occurs before an item is updated.
ItemDeleting An event that fires before an item is deleted.
ItemCheckingIn An event that occurs before an item has been checked in.
ItemCheckingOut An event that occurs before an item is checked out.
ItemUncheckingOut An event that occurs before an item is unchecked out.
ItemAttachmentAdding An event that occurs before an attachment has been added to an item.
ItemAttachmentDeleting An event that occurs before an attachment has been removed from the item.
ItemFileMoving An event that occurs before a file is moved.
ItemVersionDeleting An event that occurs before a document version is deleted.
FieldAdding An event that occurs before a field is added to a list.
FieldUpdating An event that occurs before a field is updated.
FieldDeleting An event that occur before a field is removed from a list.
ListAdding An event that occurs before a list is created.
ListDeleting An event that occurs before a list is deleted.
SiteDeleting An event that occurs before a site collection is deleted.
WebDeleting An event that occurs before a site is deleted.
WebMoving An event that occurs before site a site URL has been changed.
WebAdding An 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.
WorkflowStarting An event that occurs before a workflow starts running.
ItemAdded An event that occurs after an item has been added.
ItemUpdated An event that occurs after an item has been updated.
ItemDeleted An event that occurs after an item has been deleted.
ItemCheckedIn An event that occurs after an item has been checked in.
ItemCheckedOut An event that occurs after an item has been checked out.
ItemUncheckedOut An event that occurs after an item has been unchecked out.
ItemAttachmentAdded An event that occurs after an attachment has been added to the item.
ItemAttachmentDeleted An event that occurs after an attachment has been removed from the item.
ItemFileMoved An event that occurs after a file has been moved.
ItemFileConverted An event that occurs after a file is transformed from one type to another.
ItemVersionDeleted An event that occurs after a document version is deleted.
FieldAdded An event that occurs after a field has been added.
FieldUpdated An event that occurs after a field has been updated.
FieldDeleted An event that occurs after a field has been removed.
ListAdded An event that occurs after a list has been created.
ListDeleted An event that occurs after a list has been deleted.
SiteDeleted An event that occurs after a site collection has been deleted.
WebDeleted An event that occurs after a site has been deleted.
WebMoved An event that occurs after a site URL has been changed.
WebProvisioned An 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.
GroupUserAdded An 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.
WorkflowStarted An event that occurs after a workflow has started running.
WorkflowPostponed An event that occurs after a workflow has been postponed.
WorkflowCompleted An 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.
EntityInstanceDeleted An event that occurs when an instance of an external content type has been deleted.
AppInstalled An event that occurs after an app has successfully installed.
AppUpgraded An event that occurs after an app has successfully upgraded.
AppUninstalling An event that occurs when an app is about to be uninstalled.
EmailReceived An event that occurs after a list receives an email message.
ContextEvent Identifies workflow event receivers, and is therefore not a true event type.

Remarks

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.

See also

Reference

Microsoft.SharePoint namespace