Created<TValue> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IResult that on execution will write an object to the response with status code Created (201) and Location header.
public sealed class Created<TValue> : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult, Microsoft.AspNetCore.Http.IValueHttpResult<TValue>, Microsoft.AspNetCore.Http.Metadata.IEndpointMetadataProvider
type Created<'Value> = class
interface IResult
interface IEndpointMetadataProvider
interface IStatusCodeHttpResult
interface IValueHttpResult
interface IValueHttpResult<'Value>
Public NotInheritable Class Created(Of TValue)
Implements IEndpointMetadataProvider, IResult, IStatusCodeHttpResult, IValueHttpResult, IValueHttpResult(Of TValue)
- TValue
The type of object that will be JSON serialized to the response body.
- Inheritance
-
Created<TValue>
- Implements
Location | System.Object.Location |
Status |
Gets the HTTP status code: Status201Created |
Value |
Gets the object result. |
Execute |
Write an HTTP response reflecting the result. |
IEndpoint |
Populates metadata for the related Endpoint and MethodInfo. |
IStatus |
|
IValue |