Top "Iasyncresult" questions

Questions аbout IAsyncResult .net interface that represents the status of an asynchronous operation.

Two questions about AsyncCallback and IAsyncResult pattern

Two questions on the callback pattern with AsyncCallback and IAsyncResult. I changed the question with a code example: using System; …

c# begininvoke iasyncresult
c# Webrequest Post and GetResponse

I am writing a program that will submit a XML to a website. The code written works fine, but sometimes …

c# webrequest iasyncresult webresponse
What is a proper implementation of the IAsyncResult interface?

I'm looking into adding some flexibility to a class that I've created which establishes a connection to a remote host …

.net asynchronous design-patterns iasyncresult
How to create an IAsyncResult that immediately completes?

I am implementing an interface which requires implementations of BeginDoSomething and EndDoSomething methods. However my DoSomething isn't really long-running. For …

c# .net asynchronous delegates iasyncresult
HttpWebRequest.EndGetResponse throws a NotSupportedException in Windows Phone 7

in a Silverlight-Windows Phone 7-project I am creating an HttpWebRequest, get the RequestStream, write something into the Stream and try …

silverlight httpwebrequest windows-phone-7 iasyncresult
Synchronous and asynchronous callbacks

I get confused with some terms while reading MSDN documents and code samples. What are callbacks in C#? In particular, …

c# .net callback iasyncresult