ControllerBase.AcceptedAtAction Metodo

Definizione

Overload

AcceptedAtAction(String)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

AcceptedAtAction(String, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

AcceptedAtAction(String, String)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

AcceptedAtAction(String, Object, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

AcceptedAtAction(String, String, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

AcceptedAtAction(String, String, Object, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

AcceptedAtAction(String)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

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

Parametri

actionName
String

Nome dell'azione da usare per generare l'URL.

Restituisce

Oggetto creato AcceptedAtActionResult per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

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

Parametri

actionName
String

Nome dell'azione da usare per generare l'URL.

value
Object

Valore del contenuto facoltativo da formattare nel corpo dell'entità; può essere Null.

Restituisce

Oggetto creato AcceptedAtActionResult per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, String)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

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

Parametri

actionName
String

Nome dell'azione da usare per generare l'URL.

controllerName
String

Nome del controller da usare per la generazione dell'URL.

Restituisce

Oggetto creato AcceptedAtActionResult per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, Object, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

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

Parametri

actionName
String

Nome dell'azione da usare per generare l'URL.

routeValues
Object

Dati della route da usare per generare l'URL.

value
Object

Valore del contenuto facoltativo da formattare nel corpo dell'entità; può essere Null.

Restituisce

Oggetto creato AcceptedAtActionResult per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, String, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

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

Parametri

actionName
String

Nome dell'azione da usare per generare l'URL.

controllerName
String

Nome del controller da usare per la generazione dell'URL.

routeValues
Object

Dati della route da usare per generare l'URL.

Restituisce

Oggetto creato AcceptedAtActionResult per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, String, Object, Object)

Crea un AcceptedAtActionResult oggetto che produce una Status202Accepted risposta.

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

Parametri

actionName
String

Nome dell'azione da usare per generare l'URL.

controllerName
String

Nome del controller da usare per la generazione dell'URL.

routeValues
Object

Dati della route da usare per generare l'URL.

value
Object

Valore del contenuto facoltativo da formattare nel corpo dell'entità; può essere Null.

Restituisce

Oggetto creato AcceptedAtActionResult per la risposta.

Attributi

Si applica a