Export (0) Print
Expand All

HttpServerUtility Members

Provides helper methods for processing Web requests.

The HttpServerUtility type exposes the following members.

  NameDescription
Public method ClearError Clears the previous exception.
Public method CreateObject Overloaded. Creates a server instance of a COM object.
Public method CreateObjectFromClsid Creates a server instance of a COM object identified by the object's class identifier (CLSID).
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Overloaded. Executes the handler for a specified resource in the context of the current request and returns execution to the page that invoked it.
Protected method 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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLastError Returns the previous exception.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HtmlDecode Overloaded. Decodes a string that has been encoded to eliminate invalid HTML characters.
Public method HtmlEncode Overloaded. Encodes a string to be displayed in a browser.
Public method MapPath Returns the physical file path that corresponds to the specified virtual path on the Web server.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Transfer Overloaded. Terminates execution of the current page and starts execution of a new page for the current request.
Public method TransferRequest Overloaded. Performs an asynchronous execution of the specified URL.
Public method UrlDecode Overloaded. Decodes a string that was encoded for HTTP transmission and then sent to the server in a URL.
Public method UrlEncode Overloaded. Encodes a string for reliable HTTP transmission from the Web server to a client through the URL.
Public method UrlPathEncode URL-encodes the path section of a URL string and returns the encoded string.
Public method Static member UrlTokenDecode Decodes a URL string token to its equivalent byte array using base 64 digits.
Public method Static member UrlTokenEncode Encodes a byte array into its equivalent string representation using base 64 digits, which is usable for transmission on the URL.
Top

  NameDescription
Public property MachineName Gets the server's computer name.
Public property ScriptTimeout Gets and sets the request time-out value in seconds.
Top

Community Additions

ADD
Show:
© 2014 Microsoft