Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpServerUtility.Execute Method

Executes the handler for a specified resource in the context of the current request and returns control to it.

Name Description
HttpServerUtility.Execute (String) Executes the handler for the specified virtual path in the context of the current request.
HttpServerUtility.Execute (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.
HttpServerUtility.Execute (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.
HttpServerUtility.Execute (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.
HttpServerUtility.Execute (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.

Community Additions

ADD
Show:
© 2015 Microsoft