Export (0) Print
Expand All

Controller.HttpNotFound Method (String)

Returns an instance of the HttpNotFoundResult class.

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

'Declaration
Protected Friend Overridable Function HttpNotFound ( _
	statusDescription As String _
) As HttpNotFoundResult
'Usage
Dim statusDescription As String
Dim returnValue As HttpNotFoundResult

returnValue = Me.HttpNotFound(statusDescription)

Parameters

statusDescription
Type: System.String
The status description.

Return Value

Type: System.Web.Mvc.HttpNotFoundResult
An instance of the HttpNotFoundResult class.
Show:
© 2014 Microsoft