Beispiel #1
0
        //The fetch operation is assumed to be slow, so it runs asynchronously.
        public void Fetch()
        {
            RequestState state = new RequestState(HttpWebRequest.Create(Uri));

            state.Request.BeginGetResponse(OnGetResponse, state);
        }
Beispiel #2
0
 //The fetch operation is assumed to be slow, so it runs asynchronously.
 public void Fetch()
 {
     RequestState state = new RequestState(HttpWebRequest.Create(Uri));
     state.Request.BeginGetResponse(OnGetResponse, state);
 }