This documentation is archived and is not being maintained.
HttpWebRequest Methods
Visual Studio 2010
The HttpWebRequest type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | Cancels a request to an Internet resource. (Overrides WebRequest::Abort().) |
|
AddRange(Int32) | Adds a byte range header to a request for a specific range from the beginning or end of the requested data. |
|
AddRange(Int64) | Adds a byte range header to a request for a specific range from the beginning or end of the requested data. |
|
AddRange(Int32, Int32) | Adds a byte range header to the request for a specified range. |
|
AddRange(Int64, Int64) | Adds a byte range header to the request for a specified range. |
|
AddRange(String, Int32) | Adds a Range header to a request for a specific range from the beginning or end of the requested data. |
|
AddRange(String, Int64) | Adds a Range header to a request for a specific range from the beginning or end of the requested data. |
|
AddRange(String, Int32, Int32) | Adds a range header to a request for a specified range. |
|
AddRange(String, Int64, Int64) | Adds a range header to a request for a specified range. |
|
BeginGetRequestStream | Begins an asynchronous request for a Stream object to use to write data. (Overrides WebRequest::BeginGetRequestStream(AsyncCallback, Object).) |
|
BeginGetResponse | Begins an asynchronous request to an Internet resource. (Overrides WebRequest::BeginGetResponse(AsyncCallback, Object).) |
|
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.) |
|
EndGetRequestStream(IAsyncResult) | Ends an asynchronous request for a Stream object to use to write data. (Overrides WebRequest::EndGetRequestStream(IAsyncResult).) |
|
EndGetRequestStream(IAsyncResult, TransportContext%) | Ends an asynchronous request for a Stream object to use to write data and outputs the TransportContext associated with the stream. |
|
EndGetResponse | Ends an asynchronous request to an Internet resource. (Overrides WebRequest::EndGetResponse(IAsyncResult).) |
|
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 required to serialize the target object. (Overrides WebRequest::GetObjectData(SerializationInfo, StreamingContext).) |
|
GetRequestStream() | Gets a Stream object to use to write request data. (Overrides WebRequest::GetRequestStream().) |
|
GetRequestStream(TransportContext%) | Gets a Stream object to use to write request data and outputs the TransportContext associated with the stream. |
|
GetResponse | Returns a response from an Internet resource. (Overrides WebRequest::GetResponse().) |
|
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 | |
|---|---|---|
|
ISerializable::GetObjectData | Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object. |
Show: