2.2.3.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 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 (2) is added to the schema of a list.

102

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

103

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

201

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

202

The event receiver is invoked before a site is deleted.

203

The event receiver is invoked before a site is moved.

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 (2) is added to the schema of a list.

10102

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

10103

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

10201

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

10202

The event receiver is invoked after a site is deleted.

10203

The event receiver is invoked after a site is moved.

20000

The event receiver is invoked when an email message is received by a list.

32766

The event receiver is context sensitive and inspects the ContextType value to perform an appropriate action.

32767

The event receiver is used as part of a workflow.