Export (0) Print
Expand All

HttpWebRequest Methods

The methods of the HttpWebRequest class are listed here. For a complete list of HttpWebRequest class members, see the HttpWebRequest Members topic.

Public Methods

public methodAbort

Supported by the .NET Compact Framework.

Overridden. Cancels a request to an Internet resource.
public methodAddRange

Supported by the .NET Compact Framework.

Overloaded. Adds a range header to the request.
public methodBeginGetRequestStream

Supported by the .NET Compact Framework.

Overridden. Begins an asynchronous request for a Stream instance to use to write data.
public methodBeginGetResponse

Supported by the .NET Compact Framework.

Overridden. Begins an asynchronous request to an Internet resource.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEndGetRequestStream

Supported by the .NET Compact Framework.

Overridden. Ends an asynchronous request for a Stream instance to use to write data.
public methodEndGetResponse

Supported by the .NET Compact Framework.

Overridden. Ends an asynchronous request to an Internet resource.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Gets the hash code for this HttpWebRequest.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetRequestStream

Supported by the .NET Compact Framework.

Overridden. Gets a Stream instance to use to write request data.
public methodGetResponse

Supported by the .NET Compact Framework.

Overridden. Returns a response from an Internet resource.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

Explicit Interface Implementations

ISerializable.GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.

See Also

HttpWebRequest Class | System.Net Namespace

Show:
© 2014 Microsoft