Example #1
0
        public HttpAsyncResult Request(RequestData data, object state)
        {
            ThrowUIThreadExceptionIfSilverlight();

            var result = new HttpAsyncResult();
            var gate = new ManualResetEvent(false);

            BeginRequest(data, ar =>
                {
                    EndRequest(ar);
                    gate.Set();
                }, state);


            gate.WaitOne();

            return result;
        }
Example #2
0
 public void EndRequest(HttpAsyncResult result)
 {
     
 }
Example #3
0
 public void EndRequest(HttpAsyncResult result)
 {
     _controller.EndRequest(result);
 }