HttpWebRequest Methods

HttpWebRequest Methods

 

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

NameDescription
System_CAPS_pubmethodAbort()

Cancels a request to an Internet resource.(Overrides WebRequest.Abort().)

System_CAPS_pubmethodAddRange(Int32)

Adds a byte range header to a request for a specific range from the beginning or end of the requested data.

System_CAPS_pubmethodAddRange(Int32, Int32)

Adds a byte range header to the request for a specified range.

System_CAPS_pubmethodAddRange(Int64)

Adds a byte range header to a request for a specific range from the beginning or end of the requested data.

System_CAPS_pubmethodAddRange(Int64, Int64)

Adds a byte range header to the request for a specified range.

System_CAPS_pubmethodAddRange(String, Int32)

Adds a Range header to a request for a specific range from the beginning or end of the requested data.

System_CAPS_pubmethodAddRange(String, Int32, Int32)

Adds a range header to a request for a specified range.

System_CAPS_pubmethodAddRange(String, Int64)

Adds a Range header to a request for a specific range from the beginning or end of the requested data.

System_CAPS_pubmethodAddRange(String, Int64, Int64)

Adds a range header to a request for a specified range.

System_CAPS_pubmethodBeginGetRequestStream(AsyncCallback, Object)

Begins an asynchronous request for a Stream object to use to write data.(Overrides WebRequest.BeginGetRequestStream(AsyncCallback, Object).)

System_CAPS_pubmethodBeginGetResponse(AsyncCallback, Object)

Begins an asynchronous request to an Internet resource.(Overrides WebRequest.BeginGetResponse(AsyncCallback, Object).)

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)

Ends an asynchronous request for a Stream object to use to write data.(Overrides WebRequest.EndGetRequestStream(IAsyncResult).)

System_CAPS_pubmethodEndGetRequestStream(IAsyncResult, TransportContext)

Ends an asynchronous request for a Stream object to use to write data and outputs the TransportContext associated with the stream.

System_CAPS_pubmethodEndGetResponse(IAsyncResult)

Ends an asynchronous request to an Internet resource.(Overrides WebRequest.EndGetResponse(IAsyncResult).)

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 required to serialize the target object.(Overrides WebRequest.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethodGetRequestStream()

Gets a Stream object to use to write request data.(Overrides WebRequest.GetRequestStream().)

System_CAPS_pubmethodGetRequestStream(TransportContext)

Gets a Stream object to use to write request data and outputs the TransportContext associated with the stream.

System_CAPS_pubmethodGetRequestStreamAsync()

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

System_CAPS_pubmethodGetResponse()

Returns a response from an Internet resource.(Overrides WebRequest.GetResponse().)

System_CAPS_pubmethodGetResponseAsync()

When overridden in a descendant class, returns a response to an Internet request as an asynchronous operation.(Inherited from WebRequest.)

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_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. Populates a SerializationInfo with the data needed to serialize the target object.

Return to top
Show:
© 2016 Microsoft