SPEventReceiverSynchronization enumeration

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

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

No code example is currently available or this language may not be supported.

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.

Show: