次の方法で共有


ControllerBase.NotFound メソッド

定義

オーバーロード

NotFound(Object)

Status404NotFound 応答を生成する NotFoundObjectResult を作成します。

NotFound()

Status404NotFound 応答を生成する NotFoundResult を作成します。

NotFound(Object)

ソース:
ControllerBase.cs
ソース:
ControllerBase.cs
ソース:
ControllerBase.cs

Status404NotFound 応答を生成する NotFoundObjectResult を作成します。

public:
 virtual Microsoft::AspNetCore::Mvc::NotFoundObjectResult ^ NotFound(System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.NotFoundObjectResult NotFound (object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.NotFoundObjectResult NotFound (object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

属性

適用対象

NotFound()

ソース:
ControllerBase.cs
ソース:
ControllerBase.cs
ソース:
ControllerBase.cs

Status404NotFound 応答を生成する NotFoundResult を作成します。

public:
 virtual Microsoft::AspNetCore::Mvc::NotFoundResult ^ NotFound();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.NotFoundResult NotFound ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResult
override this.NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResult
Public Overridable Function NotFound () As NotFoundResult

戻り値

応答用に作成された NotFoundResult

属性

適用対象