Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebRequest Methods

 

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAbort()

Aborts the Request

System_CAPS_pubmethodBeginGetRequestStream(AsyncCallback, Object)

When overridden in a descendant class, provides an asynchronous version of the GetRequestStream method.

System_CAPS_pubmethodBeginGetResponse(AsyncCallback, Object)

When overridden in a descendant class, begins an asynchronous request for an Internet resource.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String)

Initializes a new WebRequest instance for the specified URI scheme.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Uri)

Initializes a new WebRequest instance for the specified URI scheme.

System_CAPS_pubmethodSystem_CAPS_staticCreateDefault(Uri)

Initializes a new WebRequest instance for the specified URI scheme.

System_CAPS_pubmethodSystem_CAPS_staticCreateHttp(String)

Initializes a new HttpWebRequest instance for the specified URI string.

System_CAPS_pubmethodSystem_CAPS_staticCreateHttp(Uri)

Initializes a new HttpWebRequest instance for the specified URI.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEndGetRequestStream(IAsyncResult)

When overridden in a descendant class, returns a Stream for writing data to the Internet resource.

System_CAPS_pubmethodEndGetResponse(IAsyncResult)

When overridden in a descendant class, returns a WebResponse.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Populates a SerializationInfo with the data needed to serialize the target object.

System_CAPS_pubmethodGetRequestStream()

When overridden in a descendant class, returns a Stream for writing data to the Internet resource.

System_CAPS_pubmethodGetRequestStreamAsync()

When overridden in a descendant class, returns a Stream for writing data to the Internet resource as an asynchronous operation.

System_CAPS_pubmethodGetResponse()

When overridden in a descendant class, returns a response to an Internet request.

System_CAPS_pubmethodGetResponseAsync()

When overridden in a descendant class, returns a response to an Internet request as an asynchronous operation.

System_CAPS_pubmethodSystem_CAPS_staticGetSystemWebProxy()

Returns a proxy configured with the Internet Explorer settings of the currently impersonated user.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodSystem_CAPS_staticRegisterPortableWebRequestCreator(IWebRequestCreate)

Obsolete. Register an IWebRequestCreate object.

System_CAPS_pubmethodSystem_CAPS_staticRegisterPrefix(String, IWebRequestCreate)

Registers a WebRequest descendant for the specified URI.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. When overridden in a descendant class, populates a SerializationInfo instance with the data needed to serialize the WebRequest.

Return to top
Show:
© 2017 Microsoft