共用方式為


ControllerBase.AcceptedAtRoute 方法

定義

多載

AcceptedAtRoute(String, Object, Object)

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

AcceptedAtRoute(String, Object)

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

AcceptedAtRoute(Object)

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

AcceptedAtRoute(String)

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

AcceptedAtRoute(Object, Object)

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

AcceptedAtRoute(String, Object, Object)

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

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

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

參數

routeName
String

要用來產生URL的路由名稱。

routeValues
Object

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

value
Object

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

傳回

為回應建立的 AcceptedAtRouteResult

屬性

適用於

AcceptedAtRoute(String, Object)

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

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

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

參數

routeName
String

要用來產生URL的路由名稱。

routeValues
Object

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

傳回

為回應建立的 AcceptedAtRouteResult

屬性

適用於

AcceptedAtRoute(Object)

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

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

public:
 virtual Microsoft::AspNetCore::Mvc::AcceptedAtRouteResult ^ AcceptedAtRoute(System::Object ^ routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object routeValues);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object? routeValues);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member AcceptedAtRoute : obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
override this.AcceptedAtRoute : obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Overridable Function AcceptedAtRoute (routeValues As Object) As AcceptedAtRouteResult

參數

routeValues
Object

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

傳回

為回應建立的 AcceptedAtRouteResult

屬性

適用於

AcceptedAtRoute(String)

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

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

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

參數

routeName
String

要用來產生URL的路由名稱。

傳回

為回應建立的 AcceptedAtRouteResult

屬性

適用於

AcceptedAtRoute(Object, Object)

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

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

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

參數

routeValues
Object

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

value
Object

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

傳回

為回應建立的 AcceptedAtRouteResult

屬性

適用於