Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumeration of values specifying the synchronization state for the specified event receiver.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPEventReceiverSynchronization
'Usage
Dim instance As SPEventReceiverSynchronization
[SubsetCallableTypeAttribute]
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.