EventReceiverSynchronization enumeration

SharePoint Online

Specifies the synchronization state for the specified event receiver.

Namespace:  Microsoft.SharePoint.Client
Assembly:  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.
Show: