CreatedAtRouteResult Constructors

Definition

Overloads

CreatedAtRouteResult(Object, Object)

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

CreatedAtRouteResult(String, Object, Object)

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

CreatedAtRouteResult(Object, Object)

Source:
CreatedAtRouteResult.cs
Source:
CreatedAtRouteResult.cs

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

public:
 CreatedAtRouteResult(System::Object ^ routeValues, System::Object ^ value);
public CreatedAtRouteResult (object routeValues, object value);
public CreatedAtRouteResult (object? routeValues, object? value);
new Microsoft.AspNetCore.Mvc.CreatedAtRouteResult : obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
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

CreatedAtRouteResult(String, Object, Object)

Source:
CreatedAtRouteResult.cs
Source:
CreatedAtRouteResult.cs

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

public:
 CreatedAtRouteResult(System::String ^ routeName, System::Object ^ routeValues, System::Object ^ value);
public CreatedAtRouteResult (string routeName, object routeValues, object value);
public CreatedAtRouteResult (string? routeName, object? routeValues, object? value);
new Microsoft.AspNetCore.Mvc.CreatedAtRouteResult : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
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