ControllerBase.AcceptedAtAction ControllerBase.AcceptedAtAction ControllerBase.AcceptedAtAction Method

Definition

Overloads

AcceptedAtAction(String, String, Object, Object) AcceptedAtAction(String, String, Object, Object) AcceptedAtAction(String, String, Object, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

AcceptedAtAction(String, String, Object) AcceptedAtAction(String, String, Object) AcceptedAtAction(String, String, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

AcceptedAtAction(String, Object, Object) AcceptedAtAction(String, Object, Object) AcceptedAtAction(String, Object, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

AcceptedAtAction(String, String) AcceptedAtAction(String, String) AcceptedAtAction(String, String)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

AcceptedAtAction(String, Object) AcceptedAtAction(String, Object) AcceptedAtAction(String, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

AcceptedAtAction(String) AcceptedAtAction(String) AcceptedAtAction(String)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

AcceptedAtAction(String, String, Object, Object) AcceptedAtAction(String, String, Object, Object) AcceptedAtAction(String, String, Object, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName, object routeValues, object value);
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

Parameters

actionName
String String String

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

controllerName
String String String

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

routeValues
Object Object Object

The route data to use for generating the URL.

value
Object Object Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedAtAction(String, String, Object) AcceptedAtAction(String, String, Object) AcceptedAtAction(String, String, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName, object routeValues);
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

Parameters

actionName
String String String

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

controllerName
String String String

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

routeValues
Object Object Object

The route data to use for generating the URL.

Returns

AcceptedAtAction(String, Object, Object) AcceptedAtAction(String, Object, Object) AcceptedAtAction(String, Object, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, object routeValues, object value);
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

Parameters

actionName
String String String

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

routeValues
Object Object Object

The route data to use for generating the URL.

value
Object Object Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedAtAction(String, String) AcceptedAtAction(String, String) AcceptedAtAction(String, String)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, string controllerName);
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

Parameters

actionName
String String String

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

controllerName
String String String

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

Returns

AcceptedAtAction(String, Object) AcceptedAtAction(String, Object) AcceptedAtAction(String, Object)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName, object value);
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

Parameters

actionName
String String String

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

value
Object Object Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedAtAction(String) AcceptedAtAction(String) AcceptedAtAction(String)

Creates a AcceptedAtActionResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtActionResult AcceptedAtAction (string actionName);
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

Parameters

actionName
String String String

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

Returns

Applies to