Share via


CreatedAtActionResult(String, String, Object, Object) Konstruktor

Definice

Inicializuje novou instanci objektu CreatedAtActionResult s použitím zadaných hodnot.

public:
 CreatedAtActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, System::Object ^ value);
public CreatedAtActionResult (string actionName, string controllerName, object routeValues, object value);
public CreatedAtActionResult (string? actionName, string? controllerName, object? routeValues, object? value);
new Microsoft.AspNetCore.Mvc.CreatedAtActionResult : string * string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
Public Sub New (actionName As String, controllerName As String, routeValues As Object, value As Object)

Parametry

actionName
String

Název akce, která se má použít pro vygenerování adresy URL.

controllerName
String

Název kontroleru, který se má použít ke generování adresy URL.

routeValues
Object

Směrovací data, která se mají použít ke generování adresy URL.

value
Object

Hodnota, která se má formátovat v těle entity.

Platí pro