ControllerBase.AcceptedAtRoute Method

Definition

Overloads

AcceptedAtRoute(String, Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(String, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(String)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

AcceptedAtRoute(String, Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

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>]
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

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 entity body; may be null.

Returns

AcceptedAtRouteResult

The created AcceptedAtRouteResult for the response.

Attributes

Applies to

AcceptedAtRoute(String, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

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>]
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

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

routeValues
Object

The route data to use for generating the URL.

Returns

AcceptedAtRouteResult

The created AcceptedAtRouteResult for the response.

Attributes

Applies to

AcceptedAtRoute(Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

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>]
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

The route data to use for generating the URL.

Returns

AcceptedAtRouteResult

The created AcceptedAtRouteResult for the response.

Attributes

Applies to

AcceptedAtRoute(String)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

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>]
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

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

Returns

AcceptedAtRouteResult

The created AcceptedAtRouteResult for the response.

Attributes

Applies to

AcceptedAtRoute(Object, Object)

Creates a AcceptedAtRouteResult object that produces an Status202Accepted response.

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>]
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

The route data to use for generating the URL.

value
Object

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

Returns

AcceptedAtRouteResult

The created AcceptedAtRouteResult for the response.

Attributes

Applies to