System.Web.Http Namespace¶
-
namespace
System.Web.
Http
¶ Classes
class
ApiController
- class
BadRequestErrorMessageResult
- An action result that returns a @!:StatusCodes.Status400BadRequest- response and performs content negotiation on an [System.Web.Http.HttpError](System.Web.Http.HttpError.yml) with a [System.Web.Http.HttpError.Message](System.Web.Http.HttpError.yml).
- class
ConflictResult
- An action result that returns an empty @!:StatusCodes.Status409Conflict- response.
- class
ExceptionResult
- An action result that returns a @!:StatusCodes.Status500InternalServerError- response and performs content negotiation on an [System.Web.Http.HttpError](System.Web.Http.HttpError.yml) based on an [System.Web.Http.ExceptionResult.Exception](System.Web.Http.ExceptionResult.yml).
- class
FromUriAttribute
- An attribute that specifies that the value can be bound from the query string or route data.
- class
HttpError
- Defines a serializable container for storing error information. This information is stored as key/value pairs. The dictionary keys to look up standard error information are available on the [System.Web.Http.HttpErrorKeys](System.Web.Http.HttpErrorKeys.yml) type.
- class
HttpErrorKeys
- Provides keys to look up error information stored in the [System.Web.Http.HttpError](System.Web.Http.HttpError.yml) dictionary.
class
HttpResponseException
- class
InternalServerErrorResult
- An action result that returns an empty @!:StatusCodes.Status500InternalServerError- response.
- class
InvalidModelStateResult
- An action result that returns a @!:StatusCodes.Status400BadRequest- response and performs content negotiation on an [System.Web.Http.HttpError](System.Web.Http.HttpError.yml) based on a [Microsoft.AspNet.Mvc.ModelBinding.ModelStateDictionary]().
- class
NegotiatedContentResult<T>
- An action result that performs content negotiation.
- class
OkNegotiatedContentResult<T>
- Represents an action result that performs content negotiation and returns an [System.Net.HttpStatusCode.OK]() response when it succeeds.
- class
OkResult
- An action result that returns an empty @!:StatusCodes.Status200OK- response.
- class
ResponseMessageResult
- An action result that returns a specified response message.
- class