Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpWebResponse Methods

The HttpWebResponse type exposes the following members.

  Name Description
Public method Close Closes the response stream. (Overrides WebResponse.Close().)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases the unmanaged resources used by the WebResponse object. (Inherited from WebResponse.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the HttpWebResponse, and optionally disposes of the managed resources. (Overrides WebResponse.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetObjectData Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object. (Overrides WebResponse.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetResponseHeader Gets the contents of a header that was returned with the response.
Public method GetResponseStream Gets the stream that is used to read the body of the response from the server. (Overrides WebResponse.GetResponseStream().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Explicit interface implemetation Private method IDisposable.Dispose() Infrastructure. When overridden in a derived class, releases all resources used by the WebResponse. (Inherited from WebResponse.)
Explicit interface implemetation Private method IDisposable.Dispose() Infrastructure. Releases all resources used by the HttpWebResponse.
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Serializes this instance into the specified SerializationInfo object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.