Partager via


BadRequestResult Constructor

 

Namespace:   System.Web.Http.Results
Assembly:  System.Web.Http (in System.Web.Http.dll)

Overload List

Name Description
System_CAPS_pubmethod BadRequestResult(ApiController)

Initializes a new instance of the BadRequestResult class.

System_CAPS_pubmethod BadRequestResult(HttpRequestMessage)

Initializes a new instance of the BadRequestResult class.

See Also

BadRequestResult Class
System.Web.Http.Results Namespace

Return to top

BadRequestResult Constructor (ApiController)

Initializes a new instance of the BadRequestResult class.

Syntax

public BadRequestResult(
    ApiController controller
)
public:
BadRequestResult(
    ApiController^ controller
)
new : 
        controller:ApiController -> BadRequestResult
Public Sub New (
    controller As ApiController
)

Parameters

Return to top

BadRequestResult Constructor (HttpRequestMessage)

Initializes a new instance of the BadRequestResult class.

Syntax

public BadRequestResult(
    HttpRequestMessage request
)
public:
BadRequestResult(
    HttpRequestMessage^ request
)
new : 
        request:HttpRequestMessage -> BadRequestResult
Public Sub New (
    request As HttpRequestMessage
)

Parameters

Return to top