ApiControllerExtensions.ThrowHttpException

Just returns an empty response with just the specified status code. No error message is sent.

public static void ThrowHttpException(ApiController controller,
	HttpStatusCode statusCode)

Parameters

controller

statusCode

Overloads:


See also:

Class ApiControllerExtensions

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic