Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RedirectToRouteResult Class

 

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)

System::Object
  System.Web.Http.Results::RedirectToRouteResult

public ref class RedirectToRouteResult : IHttpActionResult

NameDescription
System_CAPS_pubmethodRedirectToRouteResult(String^, IDictionary<String^, Object^>^, ApiController^)

Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided.

System_CAPS_pubmethodRedirectToRouteResult(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.

NameDescription
System_CAPS_pubpropertyRequest

Gets the request message which led to this result.

System_CAPS_pubpropertyRouteName

Gets the name of the route to use for generating the URL.

System_CAPS_pubpropertyRouteValues

Gets the route data to use for generating the URL.

System_CAPS_pubpropertyUrlFactory

Gets the factory to use to generate the route URL.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecuteAsync(CancellationToken)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: