Dela via


AcceptedAtActionResult(String, String, Object, Object) Constructor

Definition

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

public:
 AcceptedAtActionResult(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, System::Object ^ value);
public AcceptedAtActionResult (string actionName, string controllerName, object routeValues, object value);
public AcceptedAtActionResult (string? actionName, string? controllerName, object? routeValues, object? value);
new Microsoft.AspNetCore.Mvc.AcceptedAtActionResult : string * string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
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