ControllerBase.CreatedAtAction Yöntem

Tanım

Aşırı Yüklemeler

CreatedAtAction(String, Object, Object)

CreatedAtActionResultYanıt üreten bir nesne oluşturur Status201Created .

CreatedAtAction(String, Object)

CreatedAtActionResultYanıt üreten bir nesne oluşturur Status201Created .

CreatedAtAction(String, String, Object, Object)

CreatedAtActionResultYanıt üreten bir nesne oluşturur Status201Created .

CreatedAtAction(String, Object, Object)

CreatedAtActionResultYanıt üreten bir nesne oluşturur Status201Created .

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

Parametreler

actionName
String

URL oluşturmak için kullanılacak eylemin adı.

routeValues
Object

URL oluşturmak için kullanılacak rota verileri.

value
Object

Varlık gövdesinde biçimlendirilecek içerik değeri.

Döndürülenler

CreatedAtActionResult

CreatedAtActionResultYanıt için oluşturulan.

Öznitelikler

Şunlara uygulanır

CreatedAtAction(String, Object)

CreatedAtActionResultYanıt üreten bir nesne oluşturur Status201Created .

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

Parametreler

actionName
String

URL oluşturmak için kullanılacak eylemin adı.

value
Object

Varlık gövdesinde biçimlendirilecek içerik değeri.

Döndürülenler

CreatedAtActionResult

CreatedAtActionResultYanıt için oluşturulan.

Öznitelikler

Şunlara uygulanır

CreatedAtAction(String, String, Object, Object)

CreatedAtActionResultYanıt üreten bir nesne oluşturur Status201Created .

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

Parametreler

actionName
String

URL oluşturmak için kullanılacak eylemin adı.

controllerName
String

URL oluşturmak için kullanılacak denetleyicinin adı.

routeValues
Object

URL oluşturmak için kullanılacak rota verileri.

value
Object

Varlık gövdesinde biçimlendirilecek içerik değeri.

Döndürülenler

CreatedAtActionResult

CreatedAtActionResultYanıt için oluşturulan.

Öznitelikler

Şunlara uygulanır