다음을 통해 공유


ControllerBase.CreatedAtRoute 메서드

정의

오버로드

CreatedAtRoute(String, Object, Object)

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

CreatedAtRoute(String, Object)

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

CreatedAtRoute(Object, Object)

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

CreatedAtRoute(String, Object, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::CreatedAtRouteResult ^ CreatedAtRoute(System::String ^ routeName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string routeName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string? routeName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtRoute : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
override this.CreatedAtRoute : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
Public Overridable Function CreatedAtRoute (routeName As String, routeValues As Object, value As Object) As CreatedAtRouteResult

매개 변수

routeName
String

URL을 생성하는 데 사용되는 경로의 이름입니다.

routeValues
Object

URL을 생성하는 데 사용되는 경로 데이터입니다.

value
Object

엔터티 본문에서 형식을 지정하는 콘텐츠 값입니다.

반환

응답에 대해 만들어진 CreatedAtRouteResult 입니다.

특성

적용 대상

CreatedAtRoute(String, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::CreatedAtRouteResult ^ CreatedAtRoute(System::String ^ routeName, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string routeName, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string? routeName, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtRoute : string * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
override this.CreatedAtRoute : string * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
Public Overridable Function CreatedAtRoute (routeName As String, value As Object) As CreatedAtRouteResult

매개 변수

routeName
String

URL을 생성하는 데 사용되는 경로의 이름입니다.

value
Object

엔터티 본문에서 형식을 지정하는 콘텐츠 값입니다.

반환

응답에 대해 만들어진 CreatedAtRouteResult 입니다.

특성

적용 대상

CreatedAtRoute(Object, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

CreatedAtRouteResult 응답을 생성하는 개체를 Status201Created 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::CreatedAtRouteResult ^ CreatedAtRoute(System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtRoute : obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
override this.CreatedAtRoute : obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
Public Overridable Function CreatedAtRoute (routeValues As Object, value As Object) As CreatedAtRouteResult

매개 변수

routeValues
Object

URL을 생성하는 데 사용되는 경로 데이터입니다.

value
Object

엔터티 본문에서 형식을 지정하는 콘텐츠 값입니다.

반환

응답에 대해 만들어진 CreatedAtRouteResult 입니다.

특성

적용 대상