ApiController::Redirect Method
Namespace:
System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | Redirect(String^) | Creates a redirect result (302 Found) with the specified value. |
![]() | Redirect(Uri^) | Creates a redirect result (302 Found) with the specified value. |
ApiController::Redirect Method (String^)
Creates a redirect result (302 Found) with the specified value.
Parameters
- location
-
Type:
System::String^
The location to redirect to.
Return Value
Type: System.Web.Http.Results::RedirectResult^A redirect result (302 Found) with the specified value.
ApiController::Redirect Method (Uri^)
Creates a redirect result (302 Found) with the specified value.
Parameters
- location
-
Type:
System::Uri^
The location to redirect to.
Return Value
Type: System.Web.Http.Results::RedirectResult^A redirect result (302 Found) with the specified value.
Show:
