Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NotFoundResult Constructor

 

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

NameDescription
System_CAPS_pubmethodNotFoundResult(ApiController^)

Initializes a new instance of the NotFoundResult class.

System_CAPS_pubmethodNotFoundResult(HttpRequestMessage^)

Initializes a new instance of the NotFoundResult class.

Return to top

NotFoundResult Constructor (ApiController^)

Initializes a new instance of the NotFoundResult class.

public:
NotFoundResult(
	ApiController^ controller
)

Parameters

controller
Type: System.Web.Http::ApiController^

The controller from which to obtain the dependencies needed for execution.

Return to top

NotFoundResult Constructor (HttpRequestMessage^)

Initializes a new instance of the NotFoundResult class.

public:
NotFoundResult(
	HttpRequestMessage^ request
)

Parameters

request
Type: System.Net.Http::HttpRequestMessage^

The request message which led to this result.

Return to top
Show: