CreatedAtActionResult(String, String, Object, Object) 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用提供的值初始化 的新实例 CreatedAtActionResult 。
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.CreatedAtActionResultPublic Sub New (actionName As String, controllerName As String, routeValues As Object, value As Object)参数
- actionName
- String
用于生成 URL 的操作的名称。
- controllerName
- String
用于生成 URL 的控制器的名称。
- routeValues
- Object
用于生成 URL 的路由数据。
- value
- Object
要在实体正文中设置格式的值。