PageBase.NotFound 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NotFound() |
NotFoundResult建立產生回應的 Status404NotFound 。 |
NotFound(Object) |
NotFoundObjectResult建立產生回應的 Status404NotFound 。 |
NotFound()
- 來源:
- PageBase.cs
- 來源:
- PageBase.cs
- 來源:
- PageBase.cs
NotFoundResult建立產生回應的 Status404NotFound 。
public:
virtual Microsoft::AspNetCore::Mvc::NotFoundResult ^ NotFound();
public virtual Microsoft.AspNetCore.Mvc.NotFoundResult NotFound ();
abstract member NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResult
override this.NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResult
Public Overridable Function NotFound () As NotFoundResult
傳回
為回應建立 NotFoundResult 的 。
適用於
NotFound(Object)
- 來源:
- PageBase.cs
- 來源:
- PageBase.cs
- 來源:
- PageBase.cs
NotFoundObjectResult建立產生回應的 Status404NotFound 。
public:
virtual Microsoft::AspNetCore::Mvc::NotFoundObjectResult ^ NotFound(System::Object ^ value);
public virtual Microsoft.AspNetCore.Mvc.NotFoundObjectResult NotFound (object value);
abstract member NotFound : obj -> Microsoft.AspNetCore.Mvc.NotFoundObjectResult
override this.NotFound : obj -> Microsoft.AspNetCore.Mvc.NotFoundObjectResult
Public Overridable Function NotFound (value As Object) As NotFoundObjectResult
參數
- value
- Object
傳回
為回應建立 NotFoundObjectResult 的 。