2 // System.Web.Services.Protocols.WebClientAsyncResult.cs
\r
5 // Tim Coleman (tim@timcoleman.com)
\r
7 // Copyright (C) Tim Coleman, 2002
\r
11 using System.Threading;
\r
13 namespace System.Web.Services.Protocols {
\r
14 public class WebClientAsyncResult : IAsyncResult {
\r
18 WaitHandle waitHandle;
\r
20 WebClientProtocol protocol;
\r
22 AsyncCallback callback;
\r
25 #endregion // Fields
\r
27 #region Constructors
\r
29 [MonoTODO ("Figure out what this does.")]
\r
30 internal WebClientAsyncResult (WebClientProtocol protocol, object x, WebRequest request, AsyncCallback callback, object asyncState, int y)
\r
32 this.protocol = protocol;
\r
33 this.request = request;
\r
34 this.callback = callback;
\r
35 this.asyncState = asyncState;
\r
38 #endregion // Constructors
\r
42 public object AsyncState {
\r
43 get { return asyncState; }
\r
46 public WaitHandle AsyncWaitHandle {
\r
47 get { return waitHandle; }
\r
50 public bool CompletedSynchronously {
\r
52 get { throw new NotImplementedException (); }
\r
55 public bool IsCompleted {
\r
57 get { throw new NotImplementedException (); }
\r
60 #endregion // Properties
\r
64 public void Abort ()
\r
69 #endregion // Methods
\r