Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an action result that performs route generation and returns a <see cref="F:System.Net.HttpStatusCode.Redirect"/> response.
Namespace: System.Web.Http.Results
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Results.RedirectToRouteResult
Syntax
public class RedirectToRouteResult : IHttpActionResult
public ref class RedirectToRouteResult : IHttpActionResult
type RedirectToRouteResult =
class
interface IHttpActionResult
end
Public Class RedirectToRouteResult
Implements IHttpActionResult
Constructors
| Name | Description | |
|---|---|---|
![]() |
RedirectToRouteResult(String, IDictionary<String, Object>, ApiController) | Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided. |
![]() |
RedirectToRouteResult(String, IDictionary<String, Object>, UrlHelper, HttpRequestMessage) | Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided. |
Properties
| Name | Description | |
|---|---|---|
![]() |
Request | Gets the request message which led to this result. |
![]() |
RouteName | Gets the name of the route to use for generating the URL. |
![]() |
RouteValues | Gets the route data to use for generating the URL. |
![]() |
UrlFactory | Gets the factory to use to generate the route URL. |
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
ExecuteAsync(CancellationToken) | |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.Results Namespace
Return to top
.jpeg)
.jpeg)
.jpeg)