SPEventReceiverSynchronization enumeration
Collapse the table of content
Expand the table of content

SPEventReceiverSynchronization enumeration

Enumeration of values specifying the synchronization state for the specified event receiver.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPEventReceiverSynchronization

Member nameDescription
DefaultIndicates to run the event receiver synchronously if it is a Before event. Indicates to run the event receiver asynchronously if it is an After event.
SynchronousIndicates to run the event receiver synchronously.
AsynchronousIndicates to run the event receiver asynchronously.

Allows you to specify the synchronization state when defining an event receiver – either synchronous or asynchronous.

© 2015 Microsoft