ControllerBase.AcceptedAtRoute ControllerBase.AcceptedAtRoute ControllerBase.AcceptedAtRoute Method

Definition

Overloads

AcceptedAtRoute(Object) AcceptedAtRoute(Object) AcceptedAtRoute(Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(String) AcceptedAtRoute(String) AcceptedAtRoute(String)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(Object, Object) AcceptedAtRoute(Object, Object) AcceptedAtRoute(Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(String, Object) AcceptedAtRoute(String, Object) AcceptedAtRoute(String, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(String, Object, Object) AcceptedAtRoute(String, Object, Object) AcceptedAtRoute(String, Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(Object) AcceptedAtRoute(Object) AcceptedAtRoute(Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object routeValues);
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

Parameters

routeValues
Object Object Object

The route data to use for generating the URL.

Returns

AcceptedAtRoute(String) AcceptedAtRoute(String) AcceptedAtRoute(String)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string routeName);
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

Parameters

routeName
String String String

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

Returns

AcceptedAtRoute(Object, Object) AcceptedAtRoute(Object, Object) AcceptedAtRoute(Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (object routeValues, object value);
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

Parameters

routeValues
Object Object Object

The route data to use for generating the URL.

value
Object Object Object

The optional content value to format in the entity body; may be null.

Returns

AcceptedAtRoute(String, Object) AcceptedAtRoute(String, Object) AcceptedAtRoute(String, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string routeName, object routeValues);
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

Parameters

routeName
String String String

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

routeValues
Object Object Object

The route data to use for generating the URL.

Returns

AcceptedAtRoute(String, Object, Object) AcceptedAtRoute(String, Object, Object) AcceptedAtRoute(String, Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult AcceptedAtRoute (string routeName, object routeValues, object value);
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

Parameters

routeName
String String String

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

routeValues
Object Object Object

The route data to use for generating the URL.

value
Object Object Object

The optional content value to format in the entity body; may be null.

Returns

Applies to