Basics: Difference between Synchronous Events and Asynchronous Events in SharePoint

Leave a Comment
Hi All,

following are the differences between Synchronous and Asynchronous Events ...

Synchronous Events
  •   Fire “before” the actual events
  •   You can get HttpContent
  •   You can display error message
  •   You can cancel the event.
  •   Synchronous methods ending with “ing” like ItemAdding, ItemUpdating and ItemDeleting.


Asynchronous Events
  •   Fire “after” the actual events
  •   You cannot get HttpContent
  •   You cannot display error message
  •   You cannot cancel the event
  •   Asynchronous methods ending with “ed” like ItemAdded,IitemUpdated and ItemDeleted etc.
Thanks.

Related Post

0 comments:

Post a Comment