Click or drag to resize
ControllerProxyStatusCode Method
Creates an HttpStatusCodeResult by specifying a statusCode.

Namespace: Kentico.Web.Mvc.Internal
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
protected HttpStatusCodeResult StatusCode(
	int statusCode
)

Parameters

statusCode
Type: SystemInt32
Code of the status result.

Return Value

Type: HttpStatusCodeResult
The created HttpStatusCodeResult for the response.
See Also