PageRouteHandler Class
Provides properties and methods for defining how a URL maps to a physical file.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | PageRouteHandler(String) | Initializes a new instance of the PageRouteHandler class. |
![]() | PageRouteHandler(String, Boolean) | Initializes a new instance of the PageRouteHandler class. |
| Name | Description | |
|---|---|---|
![]() | CheckPhysicalUrlAccess | Gets a value that determines whether authorization rules are applied to the physical file's URL. |
![]() | VirtualPath | Gets the virtual path of the Web page that is associated with this route. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetHttpHandler(RequestContext) | Returns the object that processes the request. |
![]() | GetSubstitutedVirtualPath(RequestContext) | Returns the virtual path of the physical file for the route after substitutions have been applied to any replacement parameters. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
You pass an instance of PageRouteHandler to the Route constructor in order to map a URL of a physical file. The PageRouteHandler object specifies the virtual path of the physical file and determines whether authorization rules for the physical URL is checked.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


