ControllerBase.CreatedAtRoute 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
CreatedAtRoute(String, Object, Object) |
CreatedAtRouteResult Membuat objek yang menghasilkan Status201Created respons. |
CreatedAtRoute(String, Object) |
CreatedAtRouteResult Membuat objek yang menghasilkan Status201Created respons. |
CreatedAtRoute(Object, Object) |
CreatedAtRouteResult Membuat objek yang menghasilkan Status201Created respons. |
CreatedAtRoute(String, Object, Object)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
CreatedAtRouteResult Membuat objek yang menghasilkan Status201Created respons.
public:
virtual Microsoft::AspNetCore::Mvc::CreatedAtRouteResult ^ CreatedAtRoute(System::String ^ routeName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string routeName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string? routeName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtRoute : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
override this.CreatedAtRoute : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
Public Overridable Function CreatedAtRoute (routeName As String, routeValues As Object, value As Object) As CreatedAtRouteResult
Parameter
- routeName
- String
Nama rute yang akan digunakan untuk menghasilkan URL.
- routeValues
- Object
Data rute yang digunakan untuk menghasilkan URL.
- value
- Object
Nilai konten untuk diformat dalam isi entitas.
Mengembalikan
yang dibuat CreatedAtRouteResult untuk respons.
- Atribut
Berlaku untuk
CreatedAtRoute(String, Object)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
CreatedAtRouteResult Membuat objek yang menghasilkan Status201Created respons.
public:
virtual Microsoft::AspNetCore::Mvc::CreatedAtRouteResult ^ CreatedAtRoute(System::String ^ routeName, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string routeName, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (string? routeName, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtRoute : string * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
override this.CreatedAtRoute : string * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
Public Overridable Function CreatedAtRoute (routeName As String, value As Object) As CreatedAtRouteResult
Parameter
- routeName
- String
Nama rute yang akan digunakan untuk menghasilkan URL.
- value
- Object
Nilai konten untuk diformat dalam isi entitas.
Mengembalikan
yang dibuat CreatedAtRouteResult untuk respons.
- Atribut
Berlaku untuk
CreatedAtRoute(Object, Object)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
CreatedAtRouteResult Membuat objek yang menghasilkan Status201Created respons.
public:
virtual Microsoft::AspNetCore::Mvc::CreatedAtRouteResult ^ CreatedAtRoute(System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtRouteResult CreatedAtRoute (object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtRoute : obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
override this.CreatedAtRoute : obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtRouteResult
Public Overridable Function CreatedAtRoute (routeValues As Object, value As Object) As CreatedAtRouteResult
Parameter
- routeValues
- Object
Data rute yang digunakan untuk menghasilkan URL.
- value
- Object
Nilai konten untuk diformat dalam isi entitas.
Mengembalikan
yang dibuat CreatedAtRouteResult untuk respons.
- Atribut