Skip to content

EqErrorActionResult class

Represents a special kind of System.Web.Mvc.ActionResult which allows to build an BadRequest (status code 400) response with some extra data Implements the

public class Korzh.EasyQuery.AspNet.EqErrorActionResult
: ActionResult

Package: Korzh.EasyQuery.AspNet4 (targets: net461)

Assembly: Korzh.EasyQuery.AspNet4.dll

NameTypeDescription
EqErrorActionResult(string message)voidInitializes a new instance of the Korzh.EasyQuery.AspNet.EqErrorActionResult class.
NameTypeDescription
MessagestringThe error message which should be added to the response body.
NameTypeDescription
ExecuteResult(ControllerContext context)voidEnables processing of the result of an action method by a custom type that inherits from the System.Web.Mvc.ActionResult class.
WriteResponse(HttpResponseBase response)voidWrite the response .