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
- statusDescription
Type: System.String
The status description.
Remarks
A Visual Studio project with source code is available to accompany this topic: Download.