PageRouteHandler PageRouteHandler PageRouteHandler PageRouteHandler Class

Definition

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
PageRouteHandlerPageRouteHandlerPageRouteHandlerPageRouteHandler
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) PageRouteHandler(String) PageRouteHandler(String) PageRouteHandler(String)

Initializes a new instance of the PageRouteHandler class.

PageRouteHandler(String, Boolean) PageRouteHandler(String, Boolean) PageRouteHandler(String, Boolean) PageRouteHandler(String, Boolean)

Initializes a new instance of the PageRouteHandler class.

Properties

CheckPhysicalUrlAccess CheckPhysicalUrlAccess CheckPhysicalUrlAccess CheckPhysicalUrlAccess

Gets a value that determines whether authorization rules are applied to the physical file's URL.

VirtualPath VirtualPath VirtualPath VirtualPath

Gets the virtual path of the Web page that is associated with this route.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHttpHandler(RequestContext) GetHttpHandler(RequestContext) GetHttpHandler(RequestContext) GetHttpHandler(RequestContext)

Returns the object that processes the request.

GetSubstitutedVirtualPath(RequestContext) GetSubstitutedVirtualPath(RequestContext) GetSubstitutedVirtualPath(RequestContext) GetSubstitutedVirtualPath(RequestContext)

Returns the virtual path of the physical file for the route after substitutions have been applied to any replacement parameters.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also