| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- //
- // 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
- }
- }
|