SPEventReceiverSynchronization enumeration

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

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

Syntax

'Declaration
Public Enumeration SPEventReceiverSynchronization
'Usage
Dim instance As SPEventReceiverSynchronization
public enum SPEventReceiverSynchronization

Members

Member name Description
Default Indicates 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.
Synchronous Indicates to run the event receiver synchronously.
Asynchronous Indicates to run the event receiver asynchronously.

Remarks

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

See also

Reference

Microsoft.SharePoint namespace