Export (0) Print
Expand All

HttpWebRequest Methods

The HttpWebRequest type exposes the following members.

  NameDescription
Public method Abort Cancels a request to an Internet resource. (Overrides WebRequest.Abort().)
Public method AddRange(Int32) Adds a byte range header to a request for a specific range from the beginning or end of the requested data.
Public method AddRange(Int64) Adds a byte range header to a request for a specific range from the beginning or end of the requested data.
Public method AddRange(Int32, Int32) Adds a byte range header to the request for a specified range.
Public method AddRange(Int64, Int64) Adds a byte range header to the request for a specified range.
Public method AddRange(String, Int32) Adds a Range header to a request for a specific range from the beginning or end of the requested data.
Public method AddRange(String, Int64) Adds a Range header to a request for a specific range from the beginning or end of the requested data.
Public method AddRange(String, Int32, Int32) Adds a range header to a request for a specified range.
Public method AddRange(String, Int64, Int64) Adds a range header to a request for a specified range.
Public method BeginGetRequestStream Begins an asynchronous request for a Stream object to use to write data. (Overrides WebRequest.BeginGetRequestStream(AsyncCallback, Object).)
Public method BeginGetResponse Begins an asynchronous request to an Internet resource. (Overrides WebRequest.BeginGetResponse(AsyncCallback, Object).)
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 EndGetRequestStream(IAsyncResult) Ends an asynchronous request for a Stream object to use to write data. (Overrides WebRequest.EndGetRequestStream(IAsyncResult).)
Public method EndGetRequestStream(IAsyncResult, TransportContext) Ends an asynchronous request for a Stream object to use to write data and outputs the TransportContext associated with the stream.
Public method EndGetResponse Ends an asynchronous request to an Internet resource. (Overrides WebRequest.EndGetResponse(IAsyncResult).)
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 a hash function for a particular type. (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 required to serialize the target object. (Overrides WebRequest.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetRequestStream() Gets a Stream object to use to write request data. (Overrides WebRequest.GetRequestStream().)
Public method GetRequestStream(TransportContext) Gets a Stream object to use to write request data and outputs the TransportContext associated with the stream.
Public method GetResponse Returns a response from an Internet resource. (Overrides WebRequest.GetResponse().)
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

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object.
Top

Community Additions

ADD
Show:
© 2014 Microsoft