Export (0) Print
Expand All

HttpServerUtility.TransferRequest Method (String)

Performs an asynchronous execution of the specified URL.

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

public void TransferRequest (
	string path
)
public void TransferRequest (
	String path
)
public function TransferRequest (
	path : String
)
Not applicable.

Parameters

path

The URL path of the new page on the server to execute.

Exception typeCondition

PlatformNotSupportedException

The request requires the integrated pipeline mode of IIS 7.0.

HttpException

The server is not available to handle the request.

ArgumentNullException

The path parameter is a null reference (Nothing in Visual Basic).

This overload calls the TransferRequest overload with the preserveForm parameter set to false, 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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft