Struct Http404NotFound
Returns HTTP 404 - not found. This should be used in place of returning exceptions where needed as it is faster
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Wave.Mvc
Assembly: Azos.Wave.dll
Syntax
public struct Http404NotFound : IActionResult
Constructors
Http404NotFound(String)
Declaration
public Http404NotFound(string descr = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | descr |
Fields
Description
Declaration
public readonly string Description
Field Value
Type | Description |
---|---|
System.String |
Methods
Execute(Controller, WorkContext)
Declaration
public void Execute(Controller controller, WorkContext work)
Parameters
Type | Name | Description |
---|---|---|
Controller | controller | |
WorkContext | work |