Class RoutedContentEvaluationResult
Specifis how the current http request should be handled for current routed content
Inheritance
System.Object
RoutedContentEvaluationResult
Namespace: EPiServer.Web.Routing
Assembly: EPiServer.Cms.AspNetCore.Routing.dll
Version: 12.0.3Syntax
public class RoutedContentEvaluationResult : Object
Fields
NotFound
The http context should return System.
Declaration
public static RoutedContentEvaluationResult NotFound
Field Value
Type | Description |
---|---|
Routed |
OK
The http context should proceeed to a matching System.
Declaration
public static RoutedContentEvaluationResult OK
Field Value
Type | Description |
---|---|
Routed |
Properties
Location
In case of a redirect status, indicates the location for the redirect
Declaration
public string Location { get; }
Property Value
Type | Description |
---|---|
System. |
Status
Specifies the status for the current http request
Declaration
public int Status { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Redirect(HttpRedirect, String)
The http context should be redirected to a different location
Declaration
public static RoutedContentEvaluationResult Redirect(HttpRedirect redirect, string location)
Parameters
Type | Name | Description |
---|---|---|
Http |
redirect | Specifies how the redirection should be done |
System. |
location | Specifies the location for the redirect |
Returns
Type | Description |
---|---|
Routed |