EventReceiverType enumeration
Specifies the type of event that is handled by the Microsoft SharePoint Foundation event receiver.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Enumeration EventReceiverType
'Usage
Dim instance As EventReceiverType
public enum EventReceiverType
Members
Member name | Description | |
---|---|---|
InvalidReceiver | Indicates that an invalid event receiver type has been specified. Value = -1. | |
ItemAdding | Event that occurs before an item has been added. Value = 1. | |
ItemUpdating | Event that occurs before an item is updated. Value = 2. | |
ItemDeleting | event that occurs before an item is deleted. Value = 3. | |
ItemCheckingIn | Event that occurs before an item has been checked in. Value = 4. | |
ItemCheckingOut | Event that occurs before an item is checked out. Value = 5. | |
ItemUncheckingOut | Event that occurs before an item is unchecked out. Value = 6. | |
ItemAttachmentAdding | Event that occurs before an attachment has been added to an item. Value = 7. | |
ItemAttachmentDeleting | Event that occurs before an attachment has been removed from the item. Value = 8. | |
ItemFileMoving | Event that occurs before a file is moved. Value = 9. | |
ItemVersionDeleting | Event that occurs before a document version is deleted. Value = 11. | |
FieldAdding | Event that occurs before a field is added to a list. Value = 101. | |
FieldUpdating | Event that occurs before a field is updated. Value = 102. | |
FieldDeleting | Event that occurs before a field is removed from a list. Value = 103. | |
ListAdding | Event that occurs before a list is created. Value = 104. | |
ListDeleting | Event that occurs before a list is deleted. Value = 105. | |
SiteDeleting | Event that occurs before a site collection is deleted. Value = 201. | |
WebDeleting | Event that occurs before a site is deleted. Value = 202. | |
WebMoving | Event that occurs before a site URL has been changed. Value = 203. | |
WebAdding | Event that occurs before a new site is created. Value = 204. | |
SiteMovingFromGeoLocation | ||
GroupAdding | Event that occurs before a security group is added. Value = 301. | |
GroupUpdating | Event that occurs before a security group is updated. Value = 302. | |
GroupDeleting | Event that occurs before a security group is deleted. Value = 303. | |
GroupUserAdding | Event that occurs before a user is added to a security group. Value = 304. | |
GroupUserDeleting | Event that occurs before a user is deleted from a security group. Value = 305. | |
RoleDefinitionAdding | Event that occurs before a role definition is added. Value = 306. | |
RoleDefinitionUpdating | Event that occurs before a role definition is updated. Value = 307. | |
RoleDefinitionDeleting | Event that occurs before a role definition is deleted. Value = 308. | |
RoleAssignmentAdding | Event that occurs before a role assignment is added. Value = 309. | |
RoleAssignmentDeleting | Event that occurs before a role assignment is deleted. Value = 310. | |
InheritanceBreaking | Event that occurs before an inheritance is broken. Value = 311. | |
InheritanceResetting | Event that occurs before an inheritance is restored. Value = 312. | |
WorkflowStarting | Event that occurs before a workflow starts running. Value = 501. | |
ItemAdded | Event that occurs after an item has been added. Value = 10001. | |
ItemUpdated | Event that occurs after an item has been updated. Value = 10002. | |
ItemDeleted | Event that occurs after an item has been deleted. Value = 10003. | |
ItemCheckedIn | Event that occurs after an item has been checked in. Value = 10004. | |
ItemCheckedOut | Event that occurs after an item has been checked out. Value = 10005. | |
ItemUncheckedOut | Event that occurs after an item has been unchecked out. Value = 10006. | |
ItemAttachmentAdded | Event that occurs after an attachment has been added to the item. Value = 10007. | |
ItemAttachmentDeleted | Event that occurs after an attachment has been removed from the item. Value = 10008. | |
ItemFileMoved | Event that occurs after a file has been moved. Value = 10009. | |
ItemFileConverted | Event that occurs after a file is transformed from one type to another. Value = 10010. | |
ItemVersionDeleted | Event that occurs after a document version is deleted. Value = 10011. | |
FieldAdded | Event that occurs after a field has been added. Value = 10101. | |
FieldUpdated | Event that occurs after a field has been updated. Value = 10102. | |
FieldDeleted | Event that occurs after a field has been removed. Value = 10103. | |
ListAdded | Event that occurs after a list has been created. Value = 10104. | |
ListDeleted | Event that occurs after a list has been deleted. Value = 10105. | |
SiteDeleted | Event that occurs after a site collection has been deleted. Value = 10201. | |
WebDeleted | Event that occurs after a site has been deleted. Value = 10202. | |
WebRestored | ||
WebMoved | Event that occurs after a site URL has been changed. Value = 10203. | |
WebProvisioned | Event that occurs after a new site has been created, but before that new site is provisioned. Value = 10204. | |
GroupAdded | Event that occurs happens after a security group is added. Value = 10301. | |
GroupUpdated | Event that occurs after a security group is updated. Value = 10302. | |
GroupDeleted | Event that occurs after a security group is deleted. Value = 10303. | |
GroupUserAdded | Event that occurs after a user is added to a security group. Value = 10304. | |
GroupUserDeleted | Event that occurs after a user is deleted from a security group. Value = 10305. | |
RoleDefinitionAdded | Event that occurs after a role definition is added. Value = 10306. | |
RoleDefinitionUpdated | Event that occurs after a role definition is updated. Value = 10307. | |
RoleDefinitionDeleted | Event that occurs after a role definition is deleted. Value = 10308. | |
RoleAssignmentAdded | Event that occurs after a role assignment is added. Value = 10309. | |
RoleAssignmentDeleted | Event that occurs after a role definition is deleted. Value = 10310. | |
InheritanceBroken | Event that occurs after an inheritance is broken. Value = 10311. | |
InheritanceReset | Event that occurs after an inheritance is restored. Value = 10312. | |
WorkflowStarted | Event that occurs after a workflow has started running. Value = 10501. | |
WorkflowPostponed | Event that occurs after a workflow has been postponed. Value = 10502. | |
WorkflowCompleted | Event that occurs after a workflow has completed running. Value = 10503. | |
EntityInstanceAdded | Event that occurs when an instance of an external content type has been added. Value = 10601. | |
EntityInstanceUpdated | Event that occurs when an instance of an external content type has been updated. Value = 10602. | |
EntityInstanceDeleted | Event that occurs when an instance of an external content type has been deleted. Value = 10603. | |
AppInstalled | Event that occurs after an app is installed. Value = 10701. | |
AppUpgraded | Event that occurs after an app is upgraded. Value = 10702. | |
AppUninstalling | Event that occurs before an app is uninstalled. Value = 10703. | |
EmailReceived | Event that occurs after a list receives an e-mail message. Value = 20000. | |
ContextEvent | Identifies workflow event receivers, and is therefore not a true event type. Value = 32766. |