다음을 통해 공유


PageBase.BadRequest 메서드

정의

오버로드

BadRequest()

BadRequestResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

BadRequest(ModelStateDictionary)

BadRequestObjectResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

BadRequest(Object)

BadRequestObjectResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

BadRequest()

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

BadRequestResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

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

반환

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

특성

적용 대상

BadRequest(ModelStateDictionary)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

BadRequestObjectResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

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

매개 변수

modelState
ModelStateDictionary

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

반환

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

특성

적용 대상

BadRequest(Object)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

BadRequestObjectResult 응답을 생성하는 을 Status400BadRequest 만듭니다.

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

매개 변수

error
Object

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

반환

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

특성

적용 대상