System.Web.Http.ApiControllerExtensions
public static class ApiControllerExtensions : object
Class Members
Member | Description | |
---|---|---|
ThrowHttpException |
Throws a safe exception that results in a consistent error message being returned. public static void ThrowHttpException(ApiController controller, HttpStatusCode statusCode, string message) public static void ThrowHttpException(ApiController controller, HttpStatusCode statusCode, Exception ex) public static void ThrowHttpException(ApiController controller, HttpStatusCode statusCode) |
Requirements
Namespace: System.Web.HttpAssembly: westwind.web.webapi.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic