CreatedAtRouteResult 클래스

정의

ActionResult Location 헤더를 사용하여 만든(201) 응답을 반환하는 입니다.

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

생성자

CreatedAtRouteResult(Object, Object)

제공된 값을 사용하여 CreatedAtRouteResult 클래스의 새 인스턴스를 초기화합니다.

CreatedAtRouteResult(String, Object, Object)

제공된 값을 사용하여 CreatedAtRouteResult 클래스의 새 인스턴스를 초기화합니다.

속성

ContentTypes

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

(다음에서 상속됨 ObjectResult)
DeclaredType

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

(다음에서 상속됨 ObjectResult)
Formatters

의 컬렉션입니다 IOutputFormatter.

(다음에서 상속됨 ObjectResult)
RouteName

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

RouteValues

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

StatusCode

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

(다음에서 상속됨 ObjectResult)
UrlHelper

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

Value

개체 결과입니다.

(다음에서 상속됨 ObjectResult)

메서드

ExecuteResult(ActionContext)

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

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

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

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

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

적용 대상