mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* 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
72 lines
1.4 KiB
C#
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
|
|
}
|
|
}
|