HttpServerUtility Methods

HttpServerUtility Methods

 

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

NameDescription
System_CAPS_pubmethodClearError()

Clears the previous exception.

System_CAPS_pubmethodCreateObject(String)

Creates a server instance of a COM object identified by the object's programmatic identifier (ProgID).

System_CAPS_pubmethodCreateObject(Type)

Creates a server instance of a COM object identified by the object's type.

System_CAPS_pubmethodCreateObjectFromClsid(String)

Creates a server instance of a COM object identified by the object's class identifier (CLSID).

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_pubmethodExecute(IHttpHandler, TextWriter, Boolean)

Executes the handler for the specified virtual path in the context of the current request. A TextWriter captures output from the executed handler and a Boolean parameter specifies whether to clear the QueryString and Form collections.

System_CAPS_pubmethodExecute(String)

Executes the handler for the specified virtual path in the context of the current request.

System_CAPS_pubmethodExecute(String, Boolean)

Executes the handler for the specified virtual path in the context of the current request and specifies whether to clear the QueryString and Form collections.

System_CAPS_pubmethodExecute(String, TextWriter)

Executes the handler for the specified virtual path in the context of the current request. A TextWriter captures output from the executed handler.

System_CAPS_pubmethodExecute(String, TextWriter, Boolean)

Executes the handler for the specified virtual path in the context of the current request. A TextWriter captures output from the page and a Boolean parameter specifies whether to clear the QueryString and Form collections.

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetLastError()

Returns the previous exception.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodHtmlDecode(String)

Decodes an HTML-encoded string and returns the decoded string.

System_CAPS_pubmethodHtmlDecode(String, TextWriter)

Decodes an HTML-encoded string and sends the resulting output to a TextWriter output stream.

System_CAPS_pubmethodHtmlEncode(String)

HTML-encodes a string and returns the encoded string.

System_CAPS_pubmethodHtmlEncode(String, TextWriter)

HTML-encodes a string and sends the resulting output to a TextWriter output stream.

System_CAPS_pubmethodMapPath(String)

Returns the physical file path that corresponds to the specified virtual path.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodTransfer(IHttpHandler, Boolean)

Terminates execution of the current page and starts execution of a new request by using a custom HTTP handler that implements the IHttpHandler interface and specifies whether to clear the QueryString and Form collections.

System_CAPS_pubmethodTransfer(String)

For the current request, terminates execution of the current page and starts execution of a new page by using the specified URL path of the page.

System_CAPS_pubmethodTransfer(String, Boolean)

Terminates execution of the current page and starts execution of a new page by using the specified URL path of the page. Specifies whether to clear the QueryString and Form collections.

System_CAPS_pubmethodTransferRequest(String)

Performs an asynchronous execution of the specified URL.

System_CAPS_pubmethodTransferRequest(String, Boolean)

Performs an asynchronous execution of the specified URL and preserves query string parameters.

System_CAPS_pubmethodTransferRequest(String, Boolean, String, NameValueCollection)

Performs an asynchronous execution of the specified URL using the specified HTTP method and headers.

System_CAPS_pubmethodTransferRequest(String, Boolean, String, NameValueCollection, Boolean)

System_CAPS_pubmethodUrlDecode(String)

URL-decodes a string and returns the decoded string.

System_CAPS_pubmethodUrlDecode(String, TextWriter)

Decodes an HTML string received in a URL and sends the resulting output to a TextWriter output stream.

System_CAPS_pubmethodUrlEncode(String)

URL-encodes a string and returns the encoded string.

System_CAPS_pubmethodUrlEncode(String, TextWriter)

URL-encodes a string and sends the resulting output to a TextWriter output stream.

System_CAPS_pubmethodUrlPathEncode(String)

Do not use; intended only for browser compatibility. Use UrlEncode.

System_CAPS_pubmethodSystem_CAPS_staticUrlTokenDecode(String)

Decodes a URL string token to its equivalent byte array using base 64 digits.

System_CAPS_pubmethodSystem_CAPS_staticUrlTokenEncode(Byte[])

Encodes a byte array into its equivalent string representation using base 64 digits, which is usable for transmission on the URL.

Return to top
Show:
© 2016 Microsoft