PageResult 클래스

정의

ActionResult Razor 페이지를 렌더링하는 입니다.

public ref class PageResult : Microsoft::AspNetCore::Mvc::ActionResult
public class PageResult : Microsoft.AspNetCore.Mvc.ActionResult
type PageResult = class
    inherit ActionResult
Public Class PageResult
Inherits ActionResult
상속
PageResult

생성자

PageResult()

ActionResult Razor 페이지를 렌더링하는 입니다.

속성

ContentType

응답에 대한 Content-Type 헤더를 가져오거나 설정합니다.

Model

페이지 모델을 가져옵니다.

Page

실행할 을 PageBase 가져오거나 설정합니다.

StatusCode

HTTP 상태 코드를 가져오거나 설정합니다.

ViewData

실행할 페이지의 를 가져오거나 설정합니다 ViewDataDictionary .

메서드

ExecuteResult(ActionContext)

작업 메서드의 결과 작업을 동기적으로 실행합니다. 이 메서드는 MVC에서 작업 메서드의 결과를 처리하기 위해 호출됩니다.

(다음에서 상속됨 ActionResult)
ExecuteResultAsync(ActionContext)

의 서비스가 Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor.ExecuteAsync(PageContext,PageResult) 지정된 context에서 자체 처리하도록 요청합니다.

적용 대상