Condividi tramite


ControllerBase.AcceptedAtAction Metodo

Definizione

Overload

AcceptedAtAction(String)

Crea un oggetto AcceptedAtActionResult che produce una risposta Status202Accepted.

AcceptedAtAction(String, Object)

Crea un oggetto AcceptedAtActionResult che produce una risposta Status202Accepted.

AcceptedAtAction(String, String)

Crea un oggetto AcceptedAtActionResult che produce una risposta Status202Accepted.

AcceptedAtAction(String, Object, Object)

Crea un oggetto AcceptedAtActionResult che produce una risposta Status202Accepted.

AcceptedAtAction(String, String, Object)

Crea un oggetto AcceptedAtActionResult che produce una risposta Status202Accepted.

AcceptedAtAction(String, String, Object, Object)

Crea un oggetto AcceptedAtActionResult che produce una risposta Status202Accepted.

AcceptedAtAction(String)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto AcceptedAtActionResult che produce una risposta 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

Parametri

actionName
String

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

Restituisce

Il AcceptedAtActionResult creato per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, Object)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto AcceptedAtActionResult che produce una risposta 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

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

Il AcceptedAtActionResult creato per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, String)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto AcceptedAtActionResult che produce una risposta 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

Parametri

actionName
String

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

controllerName
String

Nome del controller da usare per generare l'URL.

Restituisce

Il AcceptedAtActionResult creato per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, Object, Object)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto AcceptedAtActionResult che produce una risposta 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

Parametri

actionName
String

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

routeValues
Object

Dati di route da usare per la generazione dell'URL.

value
Object

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

Restituisce

Il AcceptedAtActionResult creato per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, String, Object)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto AcceptedAtActionResult che produce una risposta 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

Parametri

actionName
String

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

controllerName
String

Nome del controller da usare per generare l'URL.

routeValues
Object

Dati di route da usare per la generazione dell'URL.

Restituisce

Il AcceptedAtActionResult creato per la risposta.

Attributi

Si applica a

AcceptedAtAction(String, String, Object, Object)

Origine:
ControllerBase.cs
Origine:
ControllerBase.cs
Origine:
ControllerBase.cs

Crea un oggetto AcceptedAtActionResult che produce una risposta 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

Parametri

actionName
String

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

controllerName
String

Nome del controller da usare per generare l'URL.

routeValues
Object

Dati di route da usare per la generazione dell'URL.

value
Object

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

Restituisce

Il AcceptedAtActionResult creato per la risposta.

Attributi

Si applica a