This documentation is archived and is not being maintained.
WebResponse Methods
Visual Studio 2010
The WebResponse type exposes the following members.
| Name | Description | |
|---|---|---|
|
Close | When overridden by a descendant class, closes the response stream. |
|
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.) |
|
Dispose() | |
|
Dispose(Boolean) | |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetObjectData | Infrastructure. Populates a SerializationInfo with the data that is needed to serialize the target object. |
|
GetResponseStream | When overridden in a descendant class, returns the data stream from the Internet resource. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IDisposable::Dispose | Infrastructure. When overridden in a derived class, releases all resources used by the WebResponse. |
|
ISerializable::GetObjectData | Infrastructure. Populates a SerializationInfo instance with the data that is needed to serialize WebResponse. |
Show: