Share via


AcceptedAtRouteResult Constructors

Definition

Overloads

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.

AcceptedAtRouteResult(Object, Object)

Source:
AcceptedAtRouteResult.cs
Source:
AcceptedAtRouteResult.cs
Source:
AcceptedAtRouteResult.cs

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

public:
 AcceptedAtRouteResult(System::Object ^ routeValues, System::Object ^ value);
public AcceptedAtRouteResult (object routeValues, object value);
public AcceptedAtRouteResult (object? routeValues, object? value);
new Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult : obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Sub New (routeValues As Object, value As Object)

Parameters

routeValues
Object

The route data to use for generating the URL.

value
Object

The value to format in the entity body.

Applies to

AcceptedAtRouteResult(String, Object, Object)

Source:
AcceptedAtRouteResult.cs
Source:
AcceptedAtRouteResult.cs
Source:
AcceptedAtRouteResult.cs

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

public:
 AcceptedAtRouteResult(System::String ^ routeName, System::Object ^ routeValues, System::Object ^ value);
public AcceptedAtRouteResult (string routeName, object routeValues, object value);
public AcceptedAtRouteResult (string? routeName, object? routeValues, object? value);
new Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult : string * obj * obj -> Microsoft.AspNetCore.Mvc.AcceptedAtRouteResult
Public Sub New (routeName As String, routeValues As Object, value As Object)

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 value to format in the entity body.

Applies to