Partager via


NotFoundResult Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod NotFoundResult(ApiController)

Initializes a new instance of the NotFoundResult class.

System_CAPS_pubmethod NotFoundResult(HttpRequestMessage)

Initializes a new instance of the NotFoundResult class.

See Also

NotFoundResult Class
System.Web.Http.Results Namespace

Return to top

NotFoundResult Constructor (ApiController)

Initializes a new instance of the NotFoundResult class.

Syntax

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

Parameters

Return to top

NotFoundResult Constructor (HttpRequestMessage)

Initializes a new instance of the NotFoundResult class.

Syntax

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

Parameters

Return to top