Compartir a través de


ControllerBase.AcceptedAtAction Método

Definición

Sobrecargas

AcceptedAtAction(String)

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

AcceptedAtAction(String, Object)

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

AcceptedAtAction(String, String)

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

AcceptedAtAction(String, Object, Object)

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

AcceptedAtAction(String, String, Object)

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

AcceptedAtAction(String, String, Object, Object)

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

AcceptedAtAction(String)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

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

Parámetros

actionName
String

Nombre de la acción que se va a usar para generar la dirección URL.

Devoluciones

El AcceptedAtActionResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtAction(String, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

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

Parámetros

actionName
String

Nombre de la acción que se va a usar para generar la dirección URL.

value
Object

Valor de contenido opcional al que se va a dar formato en el cuerpo de la entidad; puede ser null.

Devoluciones

El AcceptedAtActionResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtAction(String, String)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

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

Parámetros

actionName
String

Nombre de la acción que se va a usar para generar la dirección URL.

controllerName
String

Nombre del controlador que se va a usar para generar la dirección URL.

Devoluciones

El AcceptedAtActionResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtAction(String, Object, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

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

Parámetros

actionName
String

Nombre de la acción que se va a usar para generar la dirección URL.

routeValues
Object

Datos de ruta que se van a usar para generar la dirección URL.

value
Object

Valor de contenido opcional al que se va a dar formato en el cuerpo de la entidad; puede ser null.

Devoluciones

El AcceptedAtActionResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtAction(String, String, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

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

Parámetros

actionName
String

Nombre de la acción que se va a usar para generar la dirección URL.

controllerName
String

Nombre del controlador que se va a usar para generar la dirección URL.

routeValues
Object

Datos de ruta que se van a usar para generar la dirección URL.

Devoluciones

El AcceptedAtActionResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtAction(String, String, Object, Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

Crea un objeto AcceptedAtActionResult que genera una respuesta Status202Accepted.

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

Parámetros

actionName
String

Nombre de la acción que se va a usar para generar la dirección URL.

controllerName
String

Nombre del controlador que se va a usar para generar la dirección URL.

routeValues
Object

Datos de ruta que se van a usar para generar la dirección URL.

value
Object

Valor de contenido opcional al que se va a dar formato en el cuerpo de la entidad; puede ser null.

Devoluciones

El AcceptedAtActionResult creado para la respuesta.

Atributos

Se aplica a