EventReceiverSynchronization enumeration

SharePoint 2013

Specifies the synchronization state for the specified event receiver.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (in Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public enum EventReceiverSynchronization

Member nameDescription
DefaultSynchronizationIndicates 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. Value = 0.
SynchronousIndicates to run the event receiver synchronously. Value = 1.
AsynchronousIndicates to run the event receiver asynchronously. Value = 2.