Share via


CreatedResult Constructors

Definition

Overloads

CreatedResult()

Initializes a new instance of the CreatedResult class

CreatedResult(String, Object)

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

CreatedResult(Uri, Object)

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

CreatedResult()

Source:
CreatedResult.cs

Initializes a new instance of the CreatedResult class

public CreatedResult();
Public Sub New ()

Applies to

CreatedResult(String, Object)

Source:
CreatedResult.cs
Source:
CreatedResult.cs
Source:
CreatedResult.cs

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

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

Parameters

___location
String

The ___location at which the content has been created.

value
Object

The value to format in the entity body.

Applies to

CreatedResult(Uri, Object)

Source:
CreatedResult.cs
Source:
CreatedResult.cs
Source:
CreatedResult.cs

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

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

Parameters

___location
Uri

The ___location at which the content has been created.

value
Object

The value to format in the entity body.

Applies to