Share via


CreatedAtActionResult(String, String, Object, Object) Constructor

Definition

Initializes a new instance of the CreatedAtActionResult with the values provided.

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)

Parameters

actionName
String

The name of the action to use for generating the URL.

controllerName
String

The name of the controller to use for generating the URL.

routeValues
Object

The route data to use for generating the URL.

value
Object

The value to format in the entity body.

Applies to