Results.AcceptedAtRoute(String, Object, Object) Method

Definition

Produces a Status202Accepted response.

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

Parameters

routeName
String

The name of the route to use for generating the URL.

routeValues
Object

The route data to use for generating the URL.

value
Object

The optional content value to format in the response body.

Returns

IResult

The created IResult for the response.

Applies to