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
Syntax
'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPEventReceiverType
'Usage
Dim instance As SPEventReceiverType
[SubsetCallableTypeAttribute]
public enum SPEventReceiverType
Members
Member name | Description | |
---|---|---|
InvalidReceiver | Indicates that an invalid event receiver type has been specified. | |
ItemAdding | Event that occurs before an item has been added. | |
ItemUpdating | 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 | 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. | |
FieldAdding | Event that occurs before a field is added to a list. | |
FieldUpdating | Event that occurs before a field is updated. | |
FieldDeleting | An event that occur before a field is removed from a list. | |
ListAdding | Event that occurs before a list is created. | |
ListDeleting | An event that occurs before a list is deleted. | |
SiteDeleting | Event that occurs before a site collection is deleted. | |
WebDeleting | Event that occurs before a site is deleted. | |
WebMoving | Event that occurs before site a site URL has been changed. | |
WebAdding | An event that occurs before a new site is created. | |
WorkflowStarting | Event that occurs before a workflow starts running. | |
ItemAdded | Event that occurs after an item has been added. | |
ItemUpdated | Event that occurs after an item has been updated. | |
ItemDeleted | An event that occurs after an item has been deleted. | |
ItemCheckedIn | 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 | 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. | |
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 | Event that occurs after a list has been created. | |
ListDeleted | Event that occurs after a list has been deleted. | |
SiteDeleted | Event that occurs after a site collection has been deleted. | |
WebDeleted | Event that occurs after a site has been deleted. | |
WebMoved | 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. | |
WorkflowStarted | Event that occurs after a workflow has started running. | |
WorkflowPostponed | Event that occurs after a workflow has been postponed. | |
WorkflowCompleted | An event that occurs after a workflow has completed running. | |
EmailReceived | Event that occurs after a list receives an e-mail 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.