AcceptedAtRouteResult Class

Definition

An ActionResult that returns a Accepted (202) response with a Location header.

public ref class AcceptedAtRouteResult : Microsoft::AspNetCore::Mvc::ObjectResult
public class AcceptedAtRouteResult : Microsoft.AspNetCore.Mvc.ObjectResult
[Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCode(202)]
public class AcceptedAtRouteResult : Microsoft.AspNetCore.Mvc.ObjectResult
type AcceptedAtRouteResult = class
    inherit ObjectResult
Public Class AcceptedAtRouteResult
Inherits ObjectResult
Inheritance
AcceptedAtRouteResult
Attributes

Constructors

AcceptedAtRouteResult(Object, Object)

Initializes a new instance of the AcceptedAtRouteResult class with the values provided.

AcceptedAtRouteResult(String, Object, Object)

Initializes a new instance of the AcceptedAtRouteResult class with the values provided.

Properties

ContentTypes (Inherited from ObjectResult)
DeclaredType (Inherited from ObjectResult)
Formatters (Inherited from ObjectResult)
RouteName

Gets or sets the name of the route to use for generating the URL.

RouteValues

Gets or sets the route data to use for generating the URL.

StatusCode

Gets or sets the HTTP status code.

(Inherited from ObjectResult)
UrlHelper

Gets or sets the IUrlHelper used to generate URLs.

Value (Inherited from ObjectResult)

Methods

ExecuteResult(ActionContext)

Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method.

(Inherited from ActionResult)
ExecuteResultAsync(ActionContext) (Inherited from ObjectResult)
OnFormatting(ActionContext)

Applies to