RouteKeyHandling Enum¶
Fields¶
-
CatchAll
()¶ Requires that the key will be in the route values, but ignore the content. Constraints with this value are considered less important than ones with [Microsoft.AspNet.Mvc.RouteKeyHandling.RequireKey](Microsoft.AspNet.Mvc.RouteKeyHandling.yml)
CatchAll = 2
-
DenyKey
()¶ Requires that the key will not be in the route values.
DenyKey = 1
-
RequireKey
()¶ Requires that the key will be in the route values, and that the content matches.
RequireKey = 0
-