Skip to main 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

Assembly: Korzh.EasyQuery.AspNet4.dll

Constructors​

NameTypeDescription
EqErrorActionResult(string message)voidInitializes a new instance of the Korzh.EasyQuery.AspNet.EqErrorActionResult class.

Fields​

NameTypeDescription
MessagestringThe error message which should be added to the response body.

Methods​

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 .