HttpNotFoundResult Constructor

 

Initializes a new instance of the HttpNotFoundResult class.

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

Overload List

Name Description
System_CAPS_pubmethod HttpNotFoundResult()

Initializes a new instance of the HttpNotFoundResult class.

System_CAPS_pubmethod HttpNotFoundResult(String)

Initializes a new instance of the HttpNotFoundResult class using a status description.

Remarks

A Visual Studio project with source code is available to accompany this topic: Download.

See Also

HttpNotFoundResult Class
System.Web.Mvc Namespace

Return to top

HttpNotFoundResult Constructor ()

Initializes a new instance of the HttpNotFoundResult class.

Syntax

public HttpNotFoundResult()
public:
HttpNotFoundResult()
new : unit -> HttpNotFoundResult
Public Sub New

Remarks

A Visual Studio project with source code is available to accompany this topic: Download.

Return to top

HttpNotFoundResult Constructor (String)

Initializes a new instance of the HttpNotFoundResult class using a status description.

Syntax

public HttpNotFoundResult(
    string statusDescription
)
public:
HttpNotFoundResult(
    String^ statusDescription
)
new : 
        statusDescription:string -> HttpNotFoundResult
Public Sub New (
    statusDescription As String
)

Parameters

Remarks

A Visual Studio project with source code is available to accompany this topic: Download.

Return to top