Compartir a través de


ControllerBase.AcceptedAtRoute Método

Definición

Sobrecargas

AcceptedAtRoute(String, Object, Object)

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

AcceptedAtRoute(String, Object)

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

AcceptedAtRoute(Object)

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

AcceptedAtRoute(String)

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

AcceptedAtRoute(Object, Object)

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

AcceptedAtRoute(String, Object, Object)

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

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

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

Parámetros

routeName
String

Nombre de la ruta 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 AcceptedAtRouteResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtRoute(String, Object)

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

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

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

Parámetros

routeName
String

Nombre de la ruta 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 AcceptedAtRouteResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtRoute(Object)

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

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

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

Parámetros

routeValues
Object

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

Devoluciones

El AcceptedAtRouteResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtRoute(String)

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

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

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

Parámetros

routeName
String

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

Devoluciones

El AcceptedAtRouteResult creado para la respuesta.

Atributos

Se aplica a

AcceptedAtRoute(Object, Object)

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

Crea un objeto AcceptedAtRouteResult que genera una respuesta Status202Accepted.

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

Parámetros

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 AcceptedAtRouteResult creado para la respuesta.

Atributos

Se aplica a