System.Web.Http Namespace¶
-
namespace
System.Web.
Http
¶ Classes
- class
ApiController
- class
BadRequestErrorMessageResult
- An action result that returns a
Microsoft.AspNetCore.Http.StatusCodes.Status400BadRequest
response and performs content negotiation on anSystem.Web.Http.HttpError
with aSystem.Web.Http.HttpError.Message
. - class
ConflictResult
- An action result that returns an empty
Microsoft.AspNetCore.Http.StatusCodes.Status409Conflict
response. - class
ExceptionResult
- An action result that returns a
Microsoft.AspNetCore.Http.StatusCodes.Status500InternalServerError
response and performs content negotiation on anSystem.Web.Http.HttpError
based on anSystem.Web.Http.ExceptionResult.Exception
. - 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
type. - class
HttpErrorKeys
- Provides keys to look up error information stored in the
System.Web.Http.HttpError
dictionary. - class
HttpResponseException
- class
InternalServerErrorResult
- An action result that returns an empty
Microsoft.AspNetCore.Http.StatusCodes.Status500InternalServerError
response. - class
InvalidModelStateResult
- An action result that returns a
Microsoft.AspNetCore.Http.StatusCodes.Status400BadRequest
response and performs content negotiation on anSystem.Web.Http.HttpError
based on aMicrosoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
. - class
NegotiatedContentResult<T>
- An action result that performs content negotiation.
- class
ResponseMessageResult
- An action result that returns a specified response message.
- class