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
Constructors
Section titled “Constructors”Name | Type | Description |
---|---|---|
EqErrorActionResult(string message) | void | Initializes a new instance of the Korzh.EasyQuery.AspNet.EqErrorActionResult class. |
Fields
Section titled “Fields”Name | Type | Description |
---|---|---|
Message | string | The error message which should be added to the response body. |
Methods
Section titled “Methods”Name | Type | Description |
---|---|---|
ExecuteResult(ControllerContext context) | void | Enables processing of the result of an action method by a custom type that inherits from the System.Web.Mvc.ActionResult class. |
WriteResponse(HttpResponseBase response) | void | Write the response . |