The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
BadRequestResult Constructor
Namespace:
System.Web.Http.Results
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | BadRequestResult(ApiController^) | Initializes a new instance of the BadRequestResult class. |
![]() | BadRequestResult(HttpRequestMessage^) | Initializes a new instance of the BadRequestResult class. |
BadRequestResult Constructor (ApiController^)
Initializes a new instance of the BadRequestResult class.
Parameters
- controller
-
Type:
System.Web.Http::ApiController^
The controller from which to obtain the dependencies needed for execution.
BadRequestResult Constructor (HttpRequestMessage^)
Initializes a new instance of the BadRequestResult class.
Parameters
- request
-
Type:
System.Net.Http::HttpRequestMessage^
The request message which led to this result.
Show:
