This documentation is archived and is not being maintained.
WebRequest Methods
Visual Studio 2010
The WebRequest type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | Aborts the Request |
|
BeginGetRequestStream | When overridden in a descendant class, provides an asynchronous version of the GetRequestStream method. |
|
BeginGetResponse | When overridden in a descendant class, begins an asynchronous request for an Internet resource. |
|
Create(String) | Initializes a new WebRequest instance for the specified URI scheme. |
|
Create(Uri) | Initializes a new WebRequest instance for the specified URI scheme. |
|
CreateDefault | Initializes a new WebRequest instance for the specified URI scheme. |
|
CreateHttp(String) | |
|
CreateHttp(Uri) | |
|
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 | When overridden in a descendant class, returns a Stream for writing data to the Internet resource. |
|
EndGetResponse | When overridden in a descendant class, returns a WebResponse. |
|
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 needed to serialize the target object. |
|
GetRequestStream | When overridden in a descendant class, returns a Stream for writing data to the Internet resource. |
|
GetResponse | When overridden in a descendant class, returns a response to an Internet request. |
|
GetSystemWebProxy | Returns a proxy configured with the Internet Explorer settings of the currently impersonated user. |
|
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.) |
|
RegisterPrefix | Registers a WebRequest descendant for the specified URI. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ISerializable::GetObjectData | Infrastructure. When overridden in a descendant class, populates a SerializationInfo instance with the data needed to serialize the WebRequest. |
Show: