Condividi tramite


ControllerBase.AcceptedAtRoute Metodo

Definizione

Overload

AcceptedAtRoute(String, Object, Object)

Crea un oggetto AcceptedAtRouteResult che produce una risposta Status202Accepted.

AcceptedAtRoute(String, Object)

Crea un oggetto AcceptedAtRouteResult che produce una risposta Status202Accepted.

AcceptedAtRoute(Object)

Crea un oggetto AcceptedAtRouteResult che produce una risposta Status202Accepted.

AcceptedAtRoute(String)

Crea un oggetto AcceptedAtRouteResult che produce una risposta Status202Accepted.

AcceptedAtRoute(Object, Object)

Crea un oggetto AcceptedAtRouteResult che produce una risposta Status202Accepted.

AcceptedAtRoute(String, Object, Object)

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

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

Parametri

routeName
String

Nome della route da usare per la generazione dell'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 AcceptedAtRouteResult creato per la risposta.

Attributi

Si applica a

AcceptedAtRoute(String, Object)

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

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

Parametri

routeName
String

Nome della route da usare per la generazione dell'URL.

routeValues
Object

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

Restituisce

Il AcceptedAtRouteResult creato per la risposta.

Attributi

Si applica a

AcceptedAtRoute(Object)

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

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

Parametri

routeValues
Object

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

Restituisce

Il AcceptedAtRouteResult creato per la risposta.

Attributi

Si applica a

AcceptedAtRoute(String)

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

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

Parametri

routeName
String

Nome della route da usare per la generazione dell'URL.

Restituisce

Il AcceptedAtRouteResult creato per la risposta.

Attributi

Si applica a

AcceptedAtRoute(Object, Object)

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

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

Parametri

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 AcceptedAtRouteResult creato per la risposta.

Attributi

Si applica a