InternalServerErrorResult Constructor
Namespace: System.Web.Http.Results
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
InternalServerErrorResult(ApiController) | Initializes a new instance of the InternalServerErrorResult class. |
|
InternalServerErrorResult(HttpRequestMessage) | Initializes a new instance of the InternalServerErrorResult class. |
See Also
InternalServerErrorResult Class
System.Web.Http.Results Namespace
Return to top
InternalServerErrorResult Constructor (ApiController)
Initializes a new instance of the InternalServerErrorResult class.
Syntax
public InternalServerErrorResult(
ApiController controller
)
public:
InternalServerErrorResult(
ApiController^ controller
)
new :
controller:ApiController -> InternalServerErrorResult
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
InternalServerErrorResult Constructor (HttpRequestMessage)
Initializes a new instance of the InternalServerErrorResult class.
Syntax
public InternalServerErrorResult(
HttpRequestMessage request
)
public:
InternalServerErrorResult(
HttpRequestMessage^ request
)
new :
request:HttpRequestMessage -> InternalServerErrorResult
Public Sub New (
request As HttpRequestMessage
)
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request message which led to this result.
Return to top