HttpServerUtility.TransferRequest Method (String, Boolean)
.NET Framework 3.0
Performs an asynchronous execution of the specified URL and preserves query string parameters.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Sub TransferRequest ( _ path As String, _ preserveForm As Boolean _ ) 'Usage Dim instance As HttpServerUtility Dim path As String Dim preserveForm As Boolean instance.TransferRequest(path, preserveForm)
public void TransferRequest ( String path, boolean preserveForm )
public function TransferRequest ( path : String, preserveForm : boolean )
Not applicable.
Parameters
- path
The URL path of the new page on the server to execute.
- preserveForm
true to preserve the QueryString and Form collections; false to clear the QueryString and Form collections.
This overload calls the TransferRequest overload with the preserveForm parameter set to the value passed in, the method parameter set to a null reference (Nothing in Visual Basic), and the headers parameter set to a null reference (Nothing in Visual Basic). For more information, see the "Remarks" section of the TransferRequest overload.
TransferRequest is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.
Community Additions
ADD
Show: