AcceptedResult Constructors

Definition

Overloads

AcceptedResult()

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

AcceptedResult(String, Object)

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

AcceptedResult(Uri, Object)

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

AcceptedResult()

Source:
AcceptedResult.cs
Source:
AcceptedResult.cs
Source:
AcceptedResult.cs

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

C#
public AcceptedResult ();

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

AcceptedResult(String, Object)

Source:
AcceptedResult.cs
Source:
AcceptedResult.cs
Source:
AcceptedResult.cs

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

C#
public AcceptedResult (string location, object value);
C#
public AcceptedResult (string? location, object? value);

Parameters

location
String

The location at which the status of requested content can be monitored.

value
Object

The value to format in the entity body.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

AcceptedResult(Uri, Object)

Source:
AcceptedResult.cs
Source:
AcceptedResult.cs
Source:
AcceptedResult.cs

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

C#
public AcceptedResult (Uri locationUri, object value);
C#
public AcceptedResult (Uri locationUri, object? value);

Parameters

locationUri
Uri

The location at which the status of requested content can be monitored.

value
Object

The value to format in the entity body.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0