ConflictResult Constructor
Namespace: System.Web.Http.Results
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
ConflictResult(ApiController) | Initializes a new instance of the ConflictResult class. |
|
ConflictResult(HttpRequestMessage) | Initializes a new instance of the ConflictResult class. |
See Also
ConflictResult Class
System.Web.Http.Results Namespace
Return to top
ConflictResult Constructor (ApiController)
Initializes a new instance of the ConflictResult class.
Syntax
public ConflictResult(
ApiController controller
)
public:
ConflictResult(
ApiController^ controller
)
new :
controller:ApiController -> ConflictResult
Public Sub New (
controller As ApiController
)
Parameters
controller
Type: System.Web.Http.ApiControllerThe controller from which to obtain the dependencies needed for execution.
Return to top
ConflictResult Constructor (HttpRequestMessage)
Initializes a new instance of the ConflictResult class.
Syntax
public ConflictResult(
HttpRequestMessage request
)
public:
ConflictResult(
HttpRequestMessage^ request
)
new :
request:HttpRequestMessage -> ConflictResult
Public Sub New (
request As HttpRequestMessage
)
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request message which led to this result.
Return to top