mail2web.com Email Hosting Services
Welcome to the mail2web.com Forums.
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    HC5
    HC5 is offline
    Senior Member
    Join Date
    May 2010
    Posts
    703

    Default event handlers: synchronous vs. asynchronous

    In SharePoint, what's the difference between a synchronous and an asynchronous event handler? Is one more convenient to use than the other?

  2. #2
    Super Moderator
    Join Date
    Aug 2010
    Location
    Bali
    Posts
    1,237

    Default

    Synchronous: happens 'before' the actual event, you have the HttpContext and you can show an error message in the browser and cancel the event

    Asynchronous: happens 'after' the actual event, there's no HttpContext and you cannot directly show an error message or cancel the event
    Check out this following blog post for the details:
    Steven Van de Craen's Blog - Synchronous and asynchronous Event Handlers
    “Your time is limited, so don’t waste it living someone else’s life,” Steve Jobs


 

Similar Threads

  1. SharePoint event handler
    By BigTimeHockeyMom in forum Beginners and How-to Guides
    Replies: 1
    Last Post: 2011-12-02, 02:17 AM
  2. today's event
    By CocoaB in forum Nokia Phones
    Replies: 0
    Last Post: 2010-09-14, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
film izle sinema izle film izle dizi izle yerli film izle
Back to top