2.2.1.2.6 Event Receiver Type

Event Receiver Type is a 32-bit signed integer that specifies the type of an event receiver, which specifies when the handler for the event (2) is invoked. The only valid values of the Event Receiver Type are specified as follows.

Value

Description

1

The event receiver is invoked before a list item is added.

2

The event receiver is invoked before a list item is updated.

3

The event receiver is invoked before a list item is deleted.

4

The event receiver is invoked before a list item is checked in.

5

The event receiver is invoked before a list item is checked out.

6

The event receiver is invoked before a list item checkout is reverted.

7

The event receiver is invoked before an attachment to a list item is added.

8

The event receiver is invoked before an attachment to a list item is deleted.

9

The event receiver is invoked before a document is moved.

101

The event receiver is invoked before a field is added to the schema of a list.

102

The event receiver is invoked before a field is updated in the schema of a list.

103

The event receiver is invoked before a field is deleted from the schema of a list.

104

The event receiver is invoked before a list is added.

105

The event receiver is invoked before a list is deleted.

201

The event receiver is invoked before a site collection is deleted.

202

The event receiver is invoked before a site (2) is deleted.

203

The event receiver is invoked before a site (2) is moved.

204

The event receiver is invoked before a site (2) is added.

501

The event receiver is invoked before a workflow (2) is started.

10001

The event receiver is invoked after a list item is added.

10002

The event receiver is invoked after a list item is updated.

10003

The event receiver is invoked after a list item is deleted.

10004

The event receiver is invoked after a list item is checked in.

10005

The event receiver is invoked after a list item is checked out.

10006

The event receiver is invoked after a list item checkout is reverted.

10007

The event receiver is invoked after an attachment is added to a list item.

10008

The event receiver is invoked after an attachment is deleted from a list item.

10009

The event receiver is invoked after a document is moved.

10010

The event receiver is invoked after a document is transformed by the document transformation feature.

10101

The event receiver is invoked after a field is added to the schema of a list.

10102

The event receiver is invoked after a field is updated in the schema of a list.

10103

The event receiver is invoked after a field is deleted from the schema of a list.

10104

The event receiver is invoked after a list is added.

10105

The event receiver is invoked after a list is deleted.

10201

The event receiver is invoked after a site collection is deleted.

10202

The event receiver is invoked after a site (2) is deleted.

10203

The event receiver is invoked after a site (2) is moved.

10204

The event receiver is invoked after a site (2) is provisioned.

10501

The event receiver is invoked after a workflow (2) is started.

10502

The event receiver is invoked after a workflow (2) is postponed.

10503

The event receiver is invoked after a workflow (2) is completed.

20000

The event receiver is invoked when an e-mail message is received by a list.

32766

The event receiver is context sensitive and inspects the ContextType value to perform a corresponding action.

32767

The event receiver is used as part of a workflow (2).