Export (0) Print
Expand All

System.Web.Http.Results Namespace

The System.Web.Http.Results namespace contains classes that represent action results.

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