ApiController::Redirect Method

 

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

NameDescription
System_CAPS_protmethodRedirect(String^)

Creates a redirect result (302 Found) with the specified value.

System_CAPS_protmethodRedirect(Uri^)

Creates a redirect result (302 Found) with the specified value.

Return to top

ApiController::Redirect Method (String^)

Creates a redirect result (302 Found) with the specified value.

public protected:
virtual RedirectResult^ Redirect(
	String^ location
)

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.

Return to top

ApiController::Redirect Method (Uri^)

Creates a redirect result (302 Found) with the specified value.

public protected:
virtual RedirectResult^ Redirect(
	Uri^ location
)

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.

Return to top
Show: