다음을 통해 공유


PageModel.NotFound 메서드

정의

오버로드

NotFound()

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

NotFound(Object)

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

NotFound()

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

Source:
PageModel.cs
Source:
PageModel.cs
Source:
PageModel.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 입니다.

적용 대상