2 // System.Net.WebResponse
\r
5 // Lawrence Pit (loz@cable.a2000.nl)
\r
10 using System.Runtime.Serialization;
\r
12 namespace System.Net
\r
15 public abstract class WebResponse : MarshalByRefObject, ISerializable, IDisposable
\r
19 protected WebResponse () { }
\r
21 protected WebResponse (SerializationInfo serializationInfo, StreamingContext streamingContext)
\r
23 throw new NotSupportedException ();
\r
28 public virtual long ContentLength {
\r
29 get { throw new NotSupportedException (); }
\r
30 set { throw new NotSupportedException (); }
\r
33 public virtual string ContentType {
\r
34 get { throw new NotSupportedException (); }
\r
35 set { throw new NotSupportedException (); }
\r
38 public virtual WebHeaderCollection Headers {
\r
39 get { throw new NotSupportedException (); }
\r
42 public virtual Uri ResponseUri {
\r
43 get { throw new NotSupportedException (); }
\r
48 public virtual void Close()
\r
50 throw new NotSupportedException ();
\r
53 public virtual Stream GetResponseStream()
\r
55 throw new NotSupportedException ();
\r
58 void IDisposable.Dispose()
\r
63 void ISerializable.GetObjectData (SerializationInfo serializationInfo,
\r
64 StreamingContext streamingContext)
\r
66 throw new NotSupportedException ();
\r