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