The HttpRequest type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbort
Cancels request. This will make the current (or subsequent) request fail with WebException error with
 Copy imageCopy Code
Status
of RequestCanceled.
(Overrides WebRequest..::..Abort()()()().)
Public methodSupported by the .NET Compact FrameworkAddRange(Int64)
Adds HTTP Range header to the request with 'bytes' unit.
Public methodSupported by the .NET Compact FrameworkAddRange(Int64, Int64)
Adds HTTP Range header to the request with 'bytes' unit.
Public methodSupported by the .NET Compact FrameworkAddRange(String, Int64)
Adds HTTP Range header to the request.
Public methodSupported by the .NET Compact FrameworkAddRange(String, Int64, Int64)
Adds HTTP Range header to the request.
Public methodSupported by the .NET Compact FrameworkBeginGetRequestStream
Begins asynchronous GetRequestStream operation. Returns request stream that the request data can be written to as an asynchronous operation. Returns writable stream.
(Overrides WebRequest..::..BeginGetRequestStream(AsyncCallback, Object).)
Public methodSupported by the .NET Compact FrameworkBeginGetResponse
Begins asynchronous GetResponse operation. Returns a response for this request as asynchronous operation. If the response was retrieved once, return that response.
(Overrides WebRequest..::..BeginGetResponse(AsyncCallback, Object).)
Public methodSupported by the .NET Compact FrameworkCreateObjRef
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 methodSupported by the .NET Compact FrameworkEndGetRequestStream
Ends an asynchronous BeginGetRequestStream operation.
(Overrides WebRequest..::..EndGetRequestStream(IAsyncResult).)
Public methodSupported by the .NET Compact FrameworkEndGetResponse
Ends an asynchronous BeginGetResponse operation.
(Overrides WebRequest..::..EndGetResponse(IAsyncResult).)
Public methodSupported by the .NET Compact FrameworkEquals (Overrides Object..::..Equals(Object).)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode (Overrides Object..::..GetHashCode()()()().)
Public methodSupported by the .NET Compact FrameworkGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkGetRequestStream
Returns request stream that the request data can be written to.
(Overrides WebRequest..::..GetRequestStream()()()().)
Public methodSupported by the .NET Compact FrameworkGetResponse
Returns a response for this request. If the response was retrieved once, return that response.
(Overrides WebRequest..::..GetResponse()()()().)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also