Share via


TypedResults.AcceptedAtRoute Metodo

Definizione

Overload

AcceptedAtRoute(String, RouteValueDictionary)

Produce una Status202Accepted risposta.

AcceptedAtRoute(String, Object)

Produce una Status202Accepted risposta.

AcceptedAtRoute<TValue>(TValue, String, RouteValueDictionary)

Produce una Status202Accepted risposta.

AcceptedAtRoute<TValue>(TValue, String, Object)

Produce una Status202Accepted risposta.

AcceptedAtRoute(String, RouteValueDictionary)

Produce una Status202Accepted risposta.

public static Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute AcceptedAtRoute (string? routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary? routeValues);
static member AcceptedAtRoute : string * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute
Public Shared Function AcceptedAtRoute (routeName As String, routeValues As RouteValueDictionary) As AcceptedAtRoute

Parametri

routeName
String

Nome della route da usare per generare l'URL.

routeValues
RouteValueDictionary

Dati della route da usare per generare l'URL.

Restituisce

Oggetto creato AcceptedAtRoute per la risposta.

Si applica a

AcceptedAtRoute(String, Object)

Produce una Status202Accepted risposta.

public static Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute AcceptedAtRoute (string? routeName = default, object? routeValues = default);
static member AcceptedAtRoute : string * obj -> Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute
Public Shared Function AcceptedAtRoute (Optional routeName As String = Nothing, Optional routeValues As Object = Nothing) As AcceptedAtRoute

Parametri

routeName
String

Nome della route da usare per generare l'URL.

routeValues
Object

Dati della route da usare per generare l'URL.

Restituisce

Oggetto creato AcceptedAtRoute per la risposta.

Si applica a

AcceptedAtRoute<TValue>(TValue, String, RouteValueDictionary)

Produce una Status202Accepted risposta.

public static Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute<TValue> AcceptedAtRoute<TValue> (TValue? value, string? routeName, Microsoft.AspNetCore.Routing.RouteValueDictionary? routeValues);
static member AcceptedAtRoute : 'Value * string * Microsoft.AspNetCore.Routing.RouteValueDictionary -> Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute<'Value>
Public Shared Function AcceptedAtRoute(Of TValue) (value As TValue, routeName As String, routeValues As RouteValueDictionary) As AcceptedAtRoute(Of TValue)

Parametri di tipo

TValue

Tipo di oggetto che verrà serializzato json nel corpo della risposta.

Parametri

value
TValue

Valore da includere nel corpo della risposta HTTP.

routeName
String

Nome della route da usare per generare l'URL.

routeValues
RouteValueDictionary

Dati della route da usare per generare l'URL.

Restituisce

Oggetto creato AcceptedAtRoute<TValue> per la risposta.

Si applica a

AcceptedAtRoute<TValue>(TValue, String, Object)

Produce una Status202Accepted risposta.

public static Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute<TValue> AcceptedAtRoute<TValue> (TValue? value, string? routeName = default, object? routeValues = default);
static member AcceptedAtRoute : 'Value * string * obj -> Microsoft.AspNetCore.Http.HttpResults.AcceptedAtRoute<'Value>
Public Shared Function AcceptedAtRoute(Of TValue) (value As TValue, Optional routeName As String = Nothing, Optional routeValues As Object = Nothing) As AcceptedAtRoute(Of TValue)

Parametri di tipo

TValue

Tipo di oggetto che verrà serializzato json nel corpo della risposta.

Parametri

value
TValue

Valore da includere nel corpo della risposta HTTP.

routeName
String

Nome della route da usare per generare l'URL.

routeValues
Object

Dati della route da usare per generare l'URL.

Restituisce

Oggetto creato AcceptedAtRoute<TValue> per la risposta.

Si applica a