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.
Show: