Compartilhar via


ControllerBase.AcceptedAtRoute Método

Definição

Sobrecargas

AcceptedAtRoute(String, Object, Object)

Cria um objeto AcceptedAtRouteResult que produz uma resposta Status202Accepted.

AcceptedAtRoute(String, Object)

Cria um objeto AcceptedAtRouteResult que produz uma resposta Status202Accepted.

AcceptedAtRoute(Object)

Cria um objeto AcceptedAtRouteResult que produz uma resposta Status202Accepted.

AcceptedAtRoute(String)

Cria um objeto AcceptedAtRouteResult que produz uma resposta Status202Accepted.

AcceptedAtRoute(Object, Object)

Cria um objeto AcceptedAtRouteResult que produz uma resposta Status202Accepted.

AcceptedAtRoute(String, Object, Object)

Origem:
ControllerBase.cs
Origem:
ControllerBase.cs
Origem:
ControllerBase.cs

Cria um objeto AcceptedAtRouteResult que produz uma resposta 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

O nome da rota a ser usada para gerar a URL.

routeValues
Object

Os dados de rota a serem usados para gerar a URL.

value
Object

O valor de conteúdo opcional a ser formatado no corpo da entidade; pode ser nulo.

Retornos

O AcceptedAtRouteResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtRoute(String, Object)

Origem:
ControllerBase.cs
Origem:
ControllerBase.cs
Origem:
ControllerBase.cs

Cria um objeto AcceptedAtRouteResult que produz uma resposta 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

O nome da rota a ser usada para gerar a URL.

routeValues
Object

Os dados de rota a serem usados para gerar a URL.

Retornos

O AcceptedAtRouteResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtRoute(Object)

Origem:
ControllerBase.cs
Origem:
ControllerBase.cs
Origem:
ControllerBase.cs

Cria um objeto AcceptedAtRouteResult que produz uma resposta 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

Os dados de rota a serem usados para gerar a URL.

Retornos

O AcceptedAtRouteResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtRoute(String)

Origem:
ControllerBase.cs
Origem:
ControllerBase.cs
Origem:
ControllerBase.cs

Cria um objeto AcceptedAtRouteResult que produz uma resposta 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

O nome da rota a ser usada para gerar a URL.

Retornos

O AcceptedAtRouteResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtRoute(Object, Object)

Origem:
ControllerBase.cs
Origem:
ControllerBase.cs
Origem:
ControllerBase.cs

Cria um objeto AcceptedAtRouteResult que produz uma resposta 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

Os dados de rota a serem usados para gerar a URL.

value
Object

O valor de conteúdo opcional a ser formatado no corpo da entidade; pode ser nulo.

Retornos

O AcceptedAtRouteResult criado para a resposta.

Atributos

Aplica-se a