PageRouteHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides properties and methods for defining how a URL maps to a physical file.
public ref class PageRouteHandler : System::Web::Routing::IRouteHandler
public class PageRouteHandler : System.Web.Routing.IRouteHandler
type PageRouteHandler = class
interface IRouteHandler
Public Class PageRouteHandler
Implements IRouteHandler
- Inheritance
-
PageRouteHandler
- Implements
Remarks
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.
Constructors
PageRouteHandler(String, Boolean) |
Initializes a new instance of the PageRouteHandler class. |
PageRouteHandler(String) |
Initializes a new instance of the PageRouteHandler class. |
Properties
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. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (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() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |