Partager via


InternalServerErrorResult Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod InternalServerErrorResult(ApiController)

Initializes a new instance of the InternalServerErrorResult class.

System_CAPS_pubmethod 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

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

Return to top