ControllerBase.AcceptedAtAction Method
Definition
Overloads
AcceptedAtAction(String) |
Creates a AcceptedAtActionResult object that produces an Status202Accepted response. |
AcceptedAtAction(String, Object) |
Creates a AcceptedAtActionResult object that produces an Status202Accepted response. |
AcceptedAtAction(String, String) |
Creates a AcceptedAtActionResult object that produces an Status202Accepted response. |
AcceptedAtAction(String, Object, Object) |
Creates a AcceptedAtActionResult object that produces an Status202Accepted response. |
AcceptedAtAction(String, String, Object) |
Creates a AcceptedAtActionResult object that produces an Status202Accepted response. |
AcceptedAtAction(String, String, Object, Object) |
Creates a AcceptedAtActionResult object that produces an Status202Accepted response. |
AcceptedAtAction(String)
Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
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>]
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
The name of the action to use for generating the URL.
Returns
The created AcceptedAtActionResult for the response.
- Attributes
Applies to
AcceptedAtAction(String, Object)
Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
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>]
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
The name of the action to use for generating the URL.
- value
- Object
The optional content value to format in the entity body; may be null.
Returns
The created AcceptedAtActionResult for the response.
- Attributes
Applies to
AcceptedAtAction(String, String)
Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
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>]
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
The name of the action to use for generating the URL.
- controllerName
- String
The name of the controller to use for generating the URL.
Returns
The created AcceptedAtActionResult for the response.
- Attributes
Applies to
AcceptedAtAction(String, Object, Object)
Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
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>]
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
The name of the action to use for generating the URL.
- routeValues
- Object
The route data to use for generating the URL.
- value
- Object
The optional content value to format in the entity body; may be null.
Returns
The created AcceptedAtActionResult for the response.
- Attributes
Applies to
AcceptedAtAction(String, String, Object)
Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
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>]
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
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.
Returns
The created AcceptedAtActionResult for the response.
- Attributes
Applies to
AcceptedAtAction(String, String, Object, Object)
Creates a AcceptedAtActionResult object that produces an Status202Accepted response.
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>]
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
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 optional content value to format in the entity body; may be null.
Returns
The created AcceptedAtActionResult for the response.
- Attributes