Controller::HttpNotFound Method

 

Returns an instance of the HttpNotFoundResult class.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_protmethodHttpNotFound()

Returns an instance of the HttpNotFoundResult class.

System_CAPS_protmethodHttpNotFound(String^)

Returns an instance of the HttpNotFoundResult class.

Return to top

Controller::HttpNotFound Method ()

Returns an instance of the HttpNotFoundResult class.

public protected:
HttpNotFoundResult^ HttpNotFound()

Return Value

Type: System.Web.Mvc::HttpNotFoundResult^

An instance of the HttpNotFoundResult class.

Return to top

Controller::HttpNotFound Method (String^)

Returns an instance of the HttpNotFoundResult class.

public protected:
virtual HttpNotFoundResult^ HttpNotFound(
	String^ statusDescription
)

Parameters

statusDescription
Type: System::String^

The status description.

Return Value

Type: System.Web.Mvc::HttpNotFoundResult^

An instance of the HttpNotFoundResult class.

Return to top
Show: