'Declaration Protected Overridable Sub OnConcurrencyConflict( _ ByVal sender As Object, _ ByVal args As DataProviderErrorEventArgs _ )
protected virtual void OnConcurrencyConflict( object sender, DataProviderErrorEventArgs args )
Inheritors may override this method to supplement it with their own recovery or conflict resolution process, however they must ensure the base method implementation gets called to fire the DataProviderError event and perform other necessary clean-up.
Although not supported by default, the OnConcurrencyConflict notification allows inheritors to implement their own custom logic for dealing with concurrency conflicts in two manners: (a) notify end users posting a late update to an Activity that their changes could not be accepted, (b) arbitrate conflicts field-by-field between the two version of the Activity.
Application developers can subscribe to the DataProviderError event to receive notice of a concurrency conflict, and pass on that notice to the end user (e.g., by registering a client script block to pop up a message box informing the end user of the conflict). It's not required to subclass the WebScheduleDbProvider just to receive this notification.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2