Files
mono/mcs/class/System.Web.Services/System.Web.Services.Protocols/WebClientAsyncResult.cs
T
Tim Coleman d198f3f5a7 2002-07-25 Tim Coleman <[email protected]>
* SoapClientMethod.cs:
        * SoapServerProtocol.cs:
                Add new internal classes as discovered.
        * SoapClientMessage.cs:
        * SoapMessage.cs:
        * SoapServerMessage.cs:
        * WebClientAsyncResult.cs:
                Add internal constructor, as found on class
                status page; modify some properties.

svn path=/trunk/mcs/; revision=6195
2002-07-26 14:31:43 +00:00

72 lines
1.4 KiB
C#

//
// System.Web.Services.Protocols.WebClientAsyncResult.cs
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2002
//
using System.Net;
using System.Threading;
namespace System.Web.Services.Protocols {
public class WebClientAsyncResult : IAsyncResult {
#region Fields
WaitHandle waitHandle;
WebClientProtocol protocol;
WebRequest request;
AsyncCallback callback;
object asyncState;
#endregion // Fields
#region Constructors
[MonoTODO ("Figure out what this does.")]
internal WebClientAsyncResult (WebClientProtocol protocol, object x, WebRequest request, AsyncCallback callback, object asyncState, int y)
{
this.protocol = protocol;
this.request = request;
this.callback = callback;
this.asyncState = asyncState;
}
#endregion // Constructors
#region Properties
public object AsyncState {
get { return asyncState; }
}
public WaitHandle AsyncWaitHandle {
get { return waitHandle; }
}
public bool CompletedSynchronously {
[MonoTODO]
get { throw new NotImplementedException (); }
}
public bool IsCompleted {
[MonoTODO]
get { throw new NotImplementedException (); }
}
#endregion // Properties
#region Methods
public void Abort ()
{
request.Abort ();
}
#endregion // Methods
}
}