Export (0) Print
Expand All

WebRequest Methods

The WebRequest type exposes the following members.

  Name Description
Public method Supported by Portable Class Library Abort Aborts the Request
Public method Supported by Portable Class Library BeginGetRequestStream When overridden in a descendant class, provides an asynchronous version of the GetRequestStream method.
Public method Supported by Portable Class Library BeginGetResponse When overridden in a descendant class, begins an asynchronous request for an Internet resource.
Public method Static member Supported by Portable Class Library Create(String) Initializes a new WebRequest instance for the specified URI scheme.
Public method Static member Supported by Portable Class Library Create(Uri) Initializes a new WebRequest instance for the specified URI scheme.
Public method Static member CreateDefault Initializes a new WebRequest instance for the specified URI scheme.
Public method Static member Supported by Portable Class Library CreateHttp(String) Initializes a new HttpWebRequest instance for the specified URI string.
Public method Static member Supported by Portable Class Library CreateHttp(Uri) Initializes a new HttpWebRequest instance for the specified URI.
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 Supported by Portable Class Library EndGetRequestStream When overridden in a descendant class, returns a Stream for writing data to the Internet resource.
Public method Supported by Portable Class Library EndGetResponse When overridden in a descendant class, returns a WebResponse.
Public method Supported by Portable Class Library Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Supported by Portable Class Library 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 Supported by Portable Class Library GetHashCode Serves as the default hash function. (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 needed to serialize the target object.
Public method GetRequestStream When overridden in a descendant class, returns a Stream for writing data to the Internet resource.
Public method GetRequestStreamAsync When overridden in a descendant class, returns a Stream for writing data to the Internet resource as an asynchronous operation.
Public method GetResponse When overridden in a descendant class, returns a response to an Internet request.
Public method GetResponseAsync When overridden in a descendant class, returns a response to an Internet request as an asynchronous operation.
Public method Static member GetSystemWebProxy Returns a proxy configured with the Internet Explorer settings of the currently impersonated user.
Public method Supported by Portable Class Library 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 Supported by Portable Class Library 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 Static member RegisterPortableWebRequestCreator Obsolete. Register an IWebRequestCreate object.
Public method Static member Supported by Portable Class Library RegisterPrefix Registers a WebRequest descendant for the specified URI.
Public method Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. When overridden in a descendant class, populates a SerializationInfo instance with the data needed to serialize the WebRequest.
Top
Show:
© 2015 Microsoft