ControllerBase.Created Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
Created() |
CreatedResult Membuat objek yang menghasilkan Status201Created respons. |
Created(String, Object) |
CreatedResult Membuat objek yang menghasilkan Status201Created respons. |
Created(Uri, Object) |
CreatedResult Membuat objek yang menghasilkan Status201Created respons. |
Created()
- Sumber:
- ControllerBase.cs
CreatedResult Membuat objek yang menghasilkan Status201Created respons.
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Created : unit -> Microsoft.AspNetCore.Mvc.CreatedResult
override this.Created : unit -> Microsoft.AspNetCore.Mvc.CreatedResult
Public Overridable Function Created () As CreatedResult
Mengembalikan
yang dibuat CreatedResult untuk respons.
- Atribut
Berlaku untuk
Created(String, Object)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
CreatedResult Membuat objek yang menghasilkan Status201Created respons.
public:
virtual Microsoft::AspNetCore::Mvc::CreatedResult ^ Created(System::String ^ uri, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created (string uri, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created (string uri, object? value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created (string? uri, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Created : string * obj -> Microsoft.AspNetCore.Mvc.CreatedResult
override this.Created : string * obj -> Microsoft.AspNetCore.Mvc.CreatedResult
Public Overridable Function Created (uri As String, value As Object) As CreatedResult
Parameter
- uri
- String
URI tempat konten telah dibuat.
- value
- Object
Nilai konten untuk diformat dalam isi entitas.
Mengembalikan
yang dibuat CreatedResult untuk respons.
- Atribut
Berlaku untuk
Created(Uri, Object)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
CreatedResult Membuat objek yang menghasilkan Status201Created respons.
public:
virtual Microsoft::AspNetCore::Mvc::CreatedResult ^ Created(Uri ^ uri, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created (Uri uri, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created (Uri uri, object? value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedResult Created (Uri? uri, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Created : Uri * obj -> Microsoft.AspNetCore.Mvc.CreatedResult
override this.Created : Uri * obj -> Microsoft.AspNetCore.Mvc.CreatedResult
Public Overridable Function Created (uri As Uri, value As Object) As CreatedResult
Parameter
- uri
- Uri
URI tempat konten telah dibuat.
- value
- Object
Nilai konten untuk diformat dalam isi entitas.
Mengembalikan
yang dibuat CreatedResult untuk respons.
- Atribut