Controller.HttpNotFound 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
HttpNotFound() |
傳回 HttpNotFoundResult 類別的執行個體。 |
HttpNotFound(String) |
傳回 HttpNotFoundResult 類別的執行個體。 |
HttpNotFound()
傳回 HttpNotFoundResult 類別的執行個體。
protected internal System.Web.Mvc.HttpNotFoundResult HttpNotFound ();
member this.HttpNotFound : unit -> System.Web.Mvc.HttpNotFoundResult
Protected Friend Function HttpNotFound () As HttpNotFoundResult
傳回
HttpNotFoundResult 類別的執行個體。
適用於
HttpNotFound(String)
傳回 HttpNotFoundResult 類別的執行個體。
protected internal virtual System.Web.Mvc.HttpNotFoundResult HttpNotFound (string statusDescription);
abstract member HttpNotFound : string -> System.Web.Mvc.HttpNotFoundResult
override this.HttpNotFound : string -> System.Web.Mvc.HttpNotFoundResult
Protected Friend Overridable Function HttpNotFound (statusDescription As String) As HttpNotFoundResult
參數
- statusDescription
- String
狀態描述。
傳回
HttpNotFoundResult 類別的執行個體。