HttpServerUtilityWrapper Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates the HTTP intrinsic object that provides helper methods for processing Web requests.
public ref class HttpServerUtilityWrapper : System::Web::HttpServerUtilityBase
public class HttpServerUtilityWrapper : System.Web.HttpServerUtilityBase
type HttpServerUtilityWrapper = class
inherit HttpServerUtilityBase
Public Class HttpServerUtilityWrapper
Inherits HttpServerUtilityBase
- Inheritance
The HttpServerUtilityWrapper class derives from the HttpServerUtilityBase class and serves as a wrapper for the HttpServerUtility class. This class exposes the functionality of the HttpServerUtility class while also exposing the HttpServerUtilityBase type. The HttpServerUtilityBase class enables you to replace the original implementation of the HttpServerUtility class in your application with a custom implementation, such as when you perform unit testing outside the ASP.NET pipeline.
Http |
Initializes a new instance of the HttpServerUtilityWrapper class. |
Machine |
Gets the server's computer name. |
Script |
Gets or sets the request time-out value in seconds. |
Clear |
Clears the most recent exception. |
Create |
Creates a server instance of a COM object that is identified by the object's programmatic identifier (ProgID). |
Create |
Creates a server instance of a COM object that is identified by the object's type. |
Create |
Creates a server instance of a COM object that is identified by the object's class identifier (CLSID). |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Execute(IHttp |
Executes the specified handler in the context of the current process, using a TextWriter instance to capture output from the executed handler and a value that specifies whether to clear the QueryString and Form collections. |
Execute(String, Boolean) |
Executes the handler for the specified virtual path in the context of the current process and specifies whether to clear the QueryString and Form collections. |
Execute(String, Text |
Executes the handler for the specified virtual path in the context of the current request, using a TextWriter instance to capture output from the page and a value that indicates whether to clear the QueryString and Form collections. |
Execute(String, Text |
Executes the handler for the specified virtual path in the context of the current process, using a TextWriter instance to capture output from the executed handler. |
Execute(String) |
Executes the handler for the specified virtual path in the context of the current process. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Returns the most recent exception. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Html |
Decodes an HTML-encoded string and returns the results in a stream. |
Html |
Decodes an HTML-encoded string and returns the decoded string. |
Html |
HTML-encodes a string and sends the resulting output to an output stream. |
Html |
HTML-encodes a string and returns the encoded string. |
Map |
Returns the physical file path that corresponds to the specified virtual path on the Web server. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Transfer(IHttp |
Terminates execution of the current process and starts execution of a new request, using a custom HTTP handler and a value that specifies whether to clear the QueryString and Form collections. |
Transfer(String, Boolean) |
Terminates execution of the current page and starts execution of a different page or handler by using the specified URL and a value that specifies whether to clear the QueryString and Form collections. |
Transfer(String) |
Terminates execution of the current process and starts execution of a page or handler that is specified with a URL. |
Transfer |
Performs an asynchronous execution of the specified URL using the specified HTTP method, headers, path, and options to preserve form values and preserve the user identity. |
Transfer |
When implemented in a derived class, asynchronously executes the end point at the specified URL, using the specified HTTP method, headers, path, and options to preserve form values and preserve the user identity. (Inherited from HttpServerUtilityBase) |
Transfer |
Asynchronously executes the endpoint at the specified URL by using the specified HTTP method and headers. |
Transfer |
Asynchronously executes the endpoint at the specified URL and specifies whether to clear the QueryString and Form collections. |
Transfer |
Asynchronously executes the end point at the specified URL. |
Url |
Decodes a URL-encoded string and sends the resulting output to a stream. |
Url |
Decodes a URL-encoded string and returns the decoded string. |
Url |
URL-encodes a string and sends the resulting output to a stream. |
Url |
URL-encodes a string and returns the encoded string. |
Url |
URL-encodes the path section of a URL string. |
Url |
Decodes a URL string token into an equivalent byte array by using base64 digits. |
Url |
Encodes a byte array into an equivalent string representation by using base64 digits, which makes it usable for transmission on the URL. |
Produto | Versões |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: