Indicates whether ASP.NET routing is processing a URL from a client or generating a URL.
Assembly: System.Web (in System.Web.dll)
A URL from a client is being processed.
A URL is being created based on the route definition.
You can use ASP.NET routing to process a URL by matching it to the route definitions in an ASP.NET application, or to generate URLs that are based on the route definitions. The IRouteConstraint interface, you might have to check the value of the routeDirection parameter in the Match method to differentiate the scenarios.enumeration provides values that help you differentiate between these scenarios. This is useful because route constraints are processed differently depending on the scenario. If you create a custom route constraint by implementing the
Available since 3.5