다음을 통해 공유


ControllerBase.NotFound 메서드

정의

오버로드

NotFound(Object)

Status404NotFound 응답을 생성하는 NotFoundObjectResult 만듭니다.

NotFound()

Status404NotFound 응답을 생성하는 NotFoundResult 만듭니다.

NotFound(Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
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()

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
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.

특성

적용 대상