IHttpAsyncHandler: Is the WaitHandle on the IAsyncResult returnedfrom BeginProcessRequest ever used

Discussion in 'ASP .Net' started by UL-Tomten, Dec 9, 2007.

  1. UL-Tomten

    UL-Tomten Guest

    Is the WaitHandle on the IAsyncResult returned from
    BeginProcessRequest ever used by the HTTP application? The reason I'm
    asking is that in the MSDN article "How to: Create an Asynchronous
    HTTP Handler"[1], BeginProcessRequest() returns an IAsyncResult whose
    AsyncWaitHandle getter always returns null. Why is this? Is there some
    guarantee that the HTTP application will never wait on a WaitHandle in
    this situation? What does or doesn't the application do with the
    returned IAsyncResult?

    (After minimal testing using the code in the article, it doesn't seem
    like the AsyncWaitHandle() getter is actually accessed during normal
    operation.)

    1: http://msdn2.microsoft.com/en-us/library/ms227433.aspx
    UL-Tomten, Dec 9, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. FefeOxy

    ASyncResult vs. IASyncResult

    FefeOxy, Feb 2, 2006, in forum: C++
    Replies:
    3
    Views:
    390
    red floyd
    Feb 2, 2006
  2. archana

    exitcontext of waithandle.waitany.

    archana, Sep 14, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    346
    bruce barker
    Sep 14, 2007
  3. Jason
    Replies:
    0
    Views:
    175
    Jason
    Jul 6, 2004
  4. johnmann56
    Replies:
    0
    Views:
    147
    johnmann56
    May 24, 2004
  5. Martijn van Schie

    Troubleshoot IOException on IAsyncResult and HTTPS

    Martijn van Schie, Mar 7, 2008, in forum: ASP .Net Web Services
    Replies:
    4
    Views:
    153
    Martijn van Schie
    Mar 10, 2008
Loading...

Share This Page