System.Web.Http.Results Namespace

 

Classes

Class Description
BadRequestErrorMessageResult Represents an action result that returns BadRequest response and performs content negotiation on an see HttpError with Message.
BadRequestResult Represents an action result that returns an empty BadRequest response.
ConflictResult Represents an action result that returns an empty HttpStatusCode.Conflict response.
CreatedAtRouteNegotiatedContentResult<T> Represents an action result that performs route generation and content negotiation and returns a Created response when content negotiation succeeds.
CreatedNegotiatedContentResult<T> Represents an action result that performs content negotiation and returns a Created response when it succeeds.
ExceptionResult Represents an action result that returns a InternalServerError response and performs content negotiation on an HttpError based on an Exception.
FormattedContentResult<T> Represents an action result that returns formatted content.
InternalServerErrorResult Represents an action result that returns an empty InternalServerError response.
InvalidModelStateResult Represents an action result that returns a BadRequest response and performs content negotiation on an HttpError based on a ModelStateDictionary.
JsonResult<T> Represents an action result that returns an OK response with JSON data.
NegotiatedContentResult<T> Represents an action result that performs content negotiation.
NotFoundResult Represents an action result that returns an empty NotFound response.
OkNegotiatedContentResult<T> Represents an action result that performs content negotiation and returns an HttpStatusCode.OK response when it succeeds.
OkResult Represents an action result that returns an empty HttpStatusCode.OK response.
RedirectResult Represents an action result for a <see cref="F:System.Net.HttpStatusCode.Redirect"/>.
RedirectToRouteResult Represents an action result that performs route generation and returns a <see cref="F:System.Net.HttpStatusCode.Redirect"/> response.
ResponseMessageResult Represents an action result that returns a specified response message.
StatusCodeResult Represents an action result that returns a specified HTTP status code.
UnauthorizedResult Represents an action result that returns an Unauthorized response.

Return to top