Typical scenario would be an ItemAdded event is activated for a document library. When uploading a single document from UI, the edit properties page appears, we update the properties and save the changes, there is a possibility to get a Save conflict error. This is because ItemAdded is an Asynchronous event.
To avoid this error the ItemAdded event can be made Synchronous by doing the following:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Receivers ListUrl="ListName"> <Receiver> <Name>EventReceiver1ItemAdded</Name> <Type>ItemAdded</Type> <Assembly>$SharePoint.Project.AssemblyFullName$</Assembly> <Class>EventReceiverProject1.EventReceiver1.EventReceiver1</Class> <SequenceNumber>1000</SequenceNumber> <Synchronization>Synchronous</Synchronization> </Receiver></Receivers></Elements>
In the highlighted text: