共用方式為


ControllerBase.AcceptedAtAction 方法

定義

多載

AcceptedAtAction(String)

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

AcceptedAtAction(String, Object)

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

AcceptedAtAction(String, String)

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

AcceptedAtAction(String, Object, Object)

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

AcceptedAtAction(String, String, Object)

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

AcceptedAtAction(String, String, Object, Object)

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

AcceptedAtAction(String)

來源:
ControllerBase.cs
來源:
ControllerBase.cs
來源:
ControllerBase.cs

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String) As AcceptedAtActionResult

參數

actionName
String

用來產生URL的動作名稱。

傳回

為回應建立的 AcceptedAtActionResult

屬性

適用於

AcceptedAtAction(String, Object)

來源:
ControllerBase.cs
來源:
ControllerBase.cs
來源:
ControllerBase.cs

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

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

參數

actionName
String

用來產生URL的動作名稱。

value
Object

在實體主體中格式化的選擇性內容值;可能是 Null。

傳回

為回應建立的 AcceptedAtActionResult

屬性

適用於

AcceptedAtAction(String, String)

來源:
ControllerBase.cs
來源:
ControllerBase.cs
來源:
ControllerBase.cs

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedAtActionResult ^ AcceptedAtAction(System::String ^ actionName, System::String ^ controllerName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string? actionName, string? controllerName);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtAction : string * string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
override this.AcceptedAtAction : string * string -> Microsoft.AspNetCore.Mvc.AcceptedAtActionResult
Public Overridable Function AcceptedAtAction (actionName As String, controllerName As String) As AcceptedAtActionResult

參數

actionName
String

用來產生URL的動作名稱。

controllerName
String

用來產生URL的控制器名稱。

傳回

為回應建立的 AcceptedAtActionResult

屬性

適用於

AcceptedAtAction(String, Object, Object)

來源:
ControllerBase.cs
來源:
ControllerBase.cs
來源:
ControllerBase.cs

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

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

參數

actionName
String

用來產生URL的動作名稱。

routeValues
Object

要用於產生URL的路由數據。

value
Object

在實體主體中格式化的選擇性內容值;可能是 Null。

傳回

為回應建立的 AcceptedAtActionResult

屬性

適用於

AcceptedAtAction(String, String, Object)

來源:
ControllerBase.cs
來源:
ControllerBase.cs
來源:
ControllerBase.cs

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

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

參數

actionName
String

用來產生URL的動作名稱。

controllerName
String

用來產生URL的控制器名稱。

routeValues
Object

要用於產生URL的路由數據。

傳回

為回應建立的 AcceptedAtActionResult

屬性

適用於

AcceptedAtAction(String, String, Object, Object)

來源:
ControllerBase.cs
來源:
ControllerBase.cs
來源:
ControllerBase.cs

建立會產生 Status202Accepted 回應 AcceptedAtActionResult 物件。

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

參數

actionName
String

用來產生URL的動作名稱。

controllerName
String

用來產生URL的控制器名稱。

routeValues
Object

要用於產生URL的路由數據。

value
Object

在實體主體中格式化的選擇性內容值;可能是 Null。

傳回

為回應建立的 AcceptedAtActionResult

屬性

適用於