Share via


HttpNotFoundResult Constructor (String)

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

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

Syntax

'Declaration
Public Sub New ( _
    statusDescription As String _
)
'Usage
Dim statusDescription As String

Dim instance As New HttpNotFoundResult(statusDescription)
public HttpNotFoundResult(
    string statusDescription
)
public:
HttpNotFoundResult(
    String^ statusDescription
)
public function HttpNotFoundResult(
    statusDescription : String
)

Parameters

Remarks

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

See Also

Reference

HttpNotFoundResult Class

HttpNotFoundResult Overload

System.Web.Mvc Namespace