HttpRequestMessageExtensions.CreateErrorResponse Method
Include Protected Members
Include Inherited Members
Creates an HttpResponseMessage that represents an error.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
CreateErrorResponse(HttpRequestMessage, HttpStatusCode, Exception) | Creates an HttpResponseMessage that represents an exception. | |
CreateErrorResponse(HttpRequestMessage, HttpStatusCode, String) | Creates an HttpResponseMessage that represents an error message. | |
CreateErrorResponse(HttpRequestMessage, HttpStatusCode, HttpError) | Creates an HttpResponseMessage that represents an error. | |
CreateErrorResponse(HttpRequestMessage, HttpStatusCode, ModelStateDictionary) | Creates an HttpResponseMessage that represents an error in the model state. | |
CreateErrorResponse(HttpRequestMessage, HttpStatusCode, String, Exception) | Creates an HttpResponseMessage that represents an exception with an error message. |
Top