Ok I am using the HttpWebRequest BeginGetResponse and I pass in the async callback function, now I want to pass in a variable/context as well that I want to my callback function to get. How do I do this. I am fairly new to the C#/.Net/Silverlight world.
HttpWebRequest absRequest = (HttpWebRequest)HttpWebRequest.Create(new Uri(urlToFetch));
absRequest.BeginGetResponse(new AsyncCallback(onABSFetchComplete), absRequest);
here my objective is in the above call I want to pass a variable and I want my callback to get called with that variable. thanks!