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. Advertisements

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. buzz
    Replies:
    1
    Views:
    917
    Scott Allen
    Nov 23, 2004
  2. buzz
    Replies:
    0
    Views:
    714
  3. =?Utf-8?B?QnJhZCBRdWlubg==?=

    Handling Exceptions in an IHttpAsyncHandler Page

    =?Utf-8?B?QnJhZCBRdWlubg==?=, Apr 11, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    974
    =?Utf-8?B?QnJhZCBRdWlubg==?=
    Apr 11, 2005
  4. FefeOxy

    ASyncResult vs. IASyncResult

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

    exitcontext of waithandle.waitany.

    archana, Sep 14, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    436
    bruce barker
    Sep 14, 2007
  6. Jason
    Replies:
    0
    Views:
    364
    Jason
    Jul 6, 2004
  7. johnmann56
    Replies:
    0
    Views:
    238
    johnmann56
    May 24, 2004
  8. Martijn van Schie

    Troubleshoot IOException on IAsyncResult and HTTPS

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