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.
The URL path to execute.
true to preserve the QueryString and Form collections; false to clear the QueryString and Form collections.
The current HttpContext is nullptr.
- or -
An error occurred while executing the handler specified by path.
path is nullptr.
path is not a virtual path.
The following example shows how to execute the .aspx page Updateinfo.aspx in the current request and preserve the QueryString and Form collections. Program execution returns to the starting page after Updateinfo.aspx is displayed.