Partilhar via


ControllerBase.AcceptedAtAction Método

Definição

Sobrecargas

AcceptedAtAction(String)

Cria um objeto AcceptedAtActionResult que produz uma resposta Status202Accepted.

AcceptedAtAction(String, Object)

Cria um objeto AcceptedAtActionResult que produz uma resposta Status202Accepted.

AcceptedAtAction(String, String)

Cria um objeto AcceptedAtActionResult que produz uma resposta Status202Accepted.

AcceptedAtAction(String, Object, Object)

Cria um objeto AcceptedAtActionResult que produz uma resposta Status202Accepted.

AcceptedAtAction(String, String, Object)

Cria um objeto AcceptedAtActionResult que produz uma resposta Status202Accepted.

AcceptedAtAction(String, String, Object, Object)

Cria um objeto AcceptedAtActionResult que produz uma resposta Status202Accepted.

AcceptedAtAction(String)

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

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

O nome da ação a ser usada para gerar a URL.

Retornos

O AcceptedAtActionResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtAction(String, Object)

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

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

O nome da ação a ser usada para gerar a URL.

value
Object

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

Retornos

O AcceptedAtActionResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtAction(String, String)

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

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

O nome da ação a ser usada para gerar a URL.

controllerName
String

O nome do controlador a ser usado para gerar a URL.

Retornos

O AcceptedAtActionResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtAction(String, Object, Object)

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

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

O nome da ação 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 AcceptedAtActionResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtAction(String, String, Object)

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

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

O nome da ação a ser usada para gerar a URL.

controllerName
String

O nome do controlador a ser usado para gerar a URL.

routeValues
Object

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

Retornos

O AcceptedAtActionResult criado para a resposta.

Atributos

Aplica-se a

AcceptedAtAction(String, String, Object, Object)

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

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

O nome da ação a ser usada para gerar a URL.

controllerName
String

O nome do controlador a ser usado 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 AcceptedAtActionResult criado para a resposta.

Atributos

Aplica-se a