다음을 통해 공유


ControllerBase.UnprocessableEntity 메서드

정의

오버로드

UnprocessableEntity()

UnprocessableEntityResult 응답을 생성하는 을 Status422UnprocessableEntity 만듭니다.

UnprocessableEntity(ModelStateDictionary)

UnprocessableEntityObjectResult 응답을 생성하는 을 Status422UnprocessableEntity 만듭니다.

UnprocessableEntity(Object)

UnprocessableEntityObjectResult 응답을 생성하는 을 Status422UnprocessableEntity 만듭니다.

UnprocessableEntity()

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

UnprocessableEntityResult 응답을 생성하는 을 Status422UnprocessableEntity 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::UnprocessableEntityResult ^ UnprocessableEntity();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnprocessableEntityResult UnprocessableEntity ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member UnprocessableEntity : unit -> Microsoft.AspNetCore.Mvc.UnprocessableEntityResult
override this.UnprocessableEntity : unit -> Microsoft.AspNetCore.Mvc.UnprocessableEntityResult
Public Overridable Function UnprocessableEntity () As UnprocessableEntityResult

반환

응답에 대해 만들어진 UnprocessableEntityResult 입니다.

특성

적용 대상

UnprocessableEntity(ModelStateDictionary)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

UnprocessableEntityObjectResult 응답을 생성하는 을 Status422UnprocessableEntity 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::UnprocessableEntityObjectResult ^ UnprocessableEntity(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult UnprocessableEntity (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member UnprocessableEntity : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
override this.UnprocessableEntity : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
Public Overridable Function UnprocessableEntity (modelState As ModelStateDictionary) As UnprocessableEntityObjectResult

매개 변수

modelState
ModelStateDictionary

ModelStateDictionary 클라이언트에 반환할 포함 오류입니다.

반환

응답에 대해 만들어진 UnprocessableEntityObjectResult 입니다.

특성

적용 대상

UnprocessableEntity(Object)

Source:
ControllerBase.cs
Source:
ControllerBase.cs
Source:
ControllerBase.cs

UnprocessableEntityObjectResult 응답을 생성하는 을 Status422UnprocessableEntity 만듭니다.

public:
 virtual Microsoft::AspNetCore::Mvc::UnprocessableEntityObjectResult ^ UnprocessableEntity(System::Object ^ error);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult UnprocessableEntity (object error);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult UnprocessableEntity (object? error);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member UnprocessableEntity : obj -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
override this.UnprocessableEntity : obj -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
Public Overridable Function UnprocessableEntity (error As Object) As UnprocessableEntityObjectResult

매개 변수

error
Object

클라이언트에 반환할 오류 개체입니다.

반환

응답에 대해 만들어진 UnprocessableEntityObjectResult 입니다.

특성

적용 대상