ControllerBase.CreatedAtAction Yöntem

Tanım

Aşırı Yüklemeler

CreatedAtAction(String, Object)

Yanıt üreten bir CreatedAtActionResultStatus201Created nesne oluşturur.

CreatedAtAction(String, Object, Object)

Yanıt üreten bir CreatedAtActionResultStatus201Created nesne oluşturur.

CreatedAtAction(String, String, Object, Object)

Yanıt üreten bir CreatedAtActionResultStatus201Created nesne oluşturur.

CreatedAtAction(String, Object)

Kaynak:
ControllerBase.cs
Kaynak:
ControllerBase.cs

Yanıt üreten bir CreatedAtActionResultStatus201Created nesne oluşturur.

public:
 virtual Microsoft::AspNetCore::Mvc::CreatedAtActionResult ^ CreatedAtAction(System::String ^ actionName, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtActionResult CreatedAtAction (string actionName, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtActionResult CreatedAtAction (string? actionName, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtAction : string * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
override this.CreatedAtAction : string * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
Public Overridable Function CreatedAtAction (actionName As String, value As Object) As CreatedAtActionResult

Parametreler

actionName
String

URL'yi oluşturmak için kullanılacak eylemin adı.

value
Object

Varlık gövdesinde biçimlendirecek içerik değeri.

Döndürülenler

Yanıt için oluşturulan CreatedAtActionResult .

Öznitelikler

Şunlara uygulanır

CreatedAtAction(String, Object, Object)

Kaynak:
ControllerBase.cs
Kaynak:
ControllerBase.cs

Yanıt üreten bir CreatedAtActionResultStatus201Created nesne oluşturur.

public:
 virtual Microsoft::AspNetCore::Mvc::CreatedAtActionResult ^ CreatedAtAction(System::String ^ actionName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtActionResult CreatedAtAction (string actionName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtActionResult CreatedAtAction (string? actionName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtAction : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
override this.CreatedAtAction : string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
Public Overridable Function CreatedAtAction (actionName As String, routeValues As Object, value As Object) As CreatedAtActionResult

Parametreler

actionName
String

URL'yi oluşturmak için kullanılacak eylemin adı.

routeValues
Object

URL'yi oluşturmak için kullanılacak yol verileri.

value
Object

Varlık gövdesinde biçimlendirecek içerik değeri.

Döndürülenler

Yanıt için oluşturulan CreatedAtActionResult .

Öznitelikler

Şunlara uygulanır

CreatedAtAction(String, String, Object, Object)

Kaynak:
ControllerBase.cs
Kaynak:
ControllerBase.cs

Yanıt üreten bir CreatedAtActionResultStatus201Created nesne oluşturur.

public:
 virtual Microsoft::AspNetCore::Mvc::CreatedAtActionResult ^ CreatedAtAction(System::String ^ actionName, System::String ^ controllerName, System::Object ^ routeValues, System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtActionResult CreatedAtAction (string actionName, string controllerName, object routeValues, object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.CreatedAtActionResult CreatedAtAction (string? actionName, string? controllerName, object? routeValues, object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member CreatedAtAction : string * string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
override this.CreatedAtAction : string * string * obj * obj -> Microsoft.AspNetCore.Mvc.CreatedAtActionResult
Public Overridable Function CreatedAtAction (actionName As String, controllerName As String, routeValues As Object, value As Object) As CreatedAtActionResult

Parametreler

actionName
String

URL'yi oluşturmak için kullanılacak eylemin adı.

controllerName
String

URL'yi oluşturmak için kullanılacak denetleyicinin adı.

routeValues
Object

URL'yi oluşturmak için kullanılacak yol verileri.

value
Object

Varlık gövdesinde biçimlendirecek içerik değeri.

Döndürülenler

Yanıt için oluşturulan CreatedAtActionResult .

Öznitelikler

Şunlara uygulanır