AcceptedAtActionResult 클래스

정의

ActionResult Location 헤더가 있는 Accepted(202) 응답을 반환하는 입니다.

public ref class AcceptedAtActionResult : Microsoft::AspNetCore::Mvc::ObjectResult
public class AcceptedAtActionResult : Microsoft.AspNetCore.Mvc.ObjectResult
[Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCode(202)]
public class AcceptedAtActionResult : Microsoft.AspNetCore.Mvc.ObjectResult
type AcceptedAtActionResult = class
    inherit ObjectResult
[<Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCode(202)>]
type AcceptedAtActionResult = class
    inherit ObjectResult
Public Class AcceptedAtActionResult
Inherits ObjectResult
상속
AcceptedAtActionResult
특성

생성자

AcceptedAtActionResult(String, String, Object, Object)

제공된 값을 사용하여 의 AcceptedAtActionResult 새 instance 초기화합니다.

속성

ActionName

URL 생성에 사용할 작업의 이름을 가져오거나 설정합니다.

ContentTypes

MediaTypeCollection를 가져오거나 설정합니다.

(다음에서 상속됨 ObjectResult)
ControllerName

URL을 생성하는 데 사용할 컨트롤러의 이름을 가져오거나 설정합니다.

DeclaredType

선언된 형식을 가져오거나 설정합니다.

(다음에서 상속됨 ObjectResult)
Formatters

의 컬렉션입니다 IOutputFormatter.

(다음에서 상속됨 ObjectResult)
RouteValues

URL 생성에 사용할 경로 데이터를 가져오거나 설정합니다.

StatusCode

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

(다음에서 상속됨 ObjectResult)
UrlHelper

URL을 IUrlHelper 생성하는 데 사용되는 를 가져오거나 설정합니다.

Value

개체 결과입니다.

(다음에서 상속됨 ObjectResult)

메서드

ExecuteResult(ActionContext)

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

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

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

(다음에서 상속됨 ObjectResult)
OnFormatting(ActionContext)

이 메서드는 포맷터가 출력 스트림에 쓰기 전에 호출됩니다.

적용 대상