PageRouteHandler Constructor (String)
.NET Framework (current version)
Initializes a new instance of the PageRouteHandler class.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| ArgumentException | The virtualPath parameter is null or is an empty string or does not start with "~/". |
When you use this constructor, the CheckPhysicalUrlAccess property is set to true.
.NET Framework
Available since 4.0
Available since 4.0
Show: