ResourceResponse.Redirect

ResourceResponse.Redirect method

Redirect(int, string)

A redirect to location, resolved against the request URL.

public static ResourceResponse Redirect(int statusCode, string location)
ParameterTypeDescription
statusCodeintA 3xx status.
locationstringThe Location value.

Return Value

ResourceResponse

See Also