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

U

UL-Tomten

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top