ControllerBase.Conflict 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Conflict(Object) |
Status409Conflict 응답을 생성하는 ConflictObjectResult 만듭니다. |
Conflict(ModelStateDictionary) |
Status409Conflict 응답을 생성하는 ConflictObjectResult 만듭니다. |
Conflict() |
Status409Conflict 응답을 생성하는 ConflictResult 만듭니다. |
Conflict(Object)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Status409Conflict 응답을 생성하는 ConflictObjectResult 만듭니다.
public:
virtual Microsoft::AspNetCore::Mvc::ConflictObjectResult ^ Conflict(System::Object ^ error);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ConflictObjectResult Conflict (object error);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ConflictObjectResult Conflict (object? error);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Conflict : obj -> Microsoft.AspNetCore.Mvc.ConflictObjectResult
override this.Conflict : obj -> Microsoft.AspNetCore.Mvc.ConflictObjectResult
Public Overridable Function Conflict (error As Object) As ConflictObjectResult
매개 변수
- error
- Object
클라이언트에 반환할 오류를 포함합니다.
반환
응답에 대해 만든 ConflictObjectResult.
- 특성
적용 대상
Conflict(ModelStateDictionary)
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Status409Conflict 응답을 생성하는 ConflictObjectResult 만듭니다.
public:
virtual Microsoft::AspNetCore::Mvc::ConflictObjectResult ^ Conflict(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ConflictObjectResult Conflict (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Conflict : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ConflictObjectResult
override this.Conflict : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ConflictObjectResult
Public Overridable Function Conflict (modelState As ModelStateDictionary) As ConflictObjectResult
매개 변수
- modelState
- ModelStateDictionary
클라이언트에 반환할 오류가 포함된 ModelStateDictionary.
반환
응답에 대해 만든 ConflictObjectResult.
- 특성
적용 대상
Conflict()
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
- Source:
- ControllerBase.cs
Status409Conflict 응답을 생성하는 ConflictResult 만듭니다.
public:
virtual Microsoft::AspNetCore::Mvc::ConflictResult ^ Conflict();
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ConflictResult Conflict ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Conflict : unit -> Microsoft.AspNetCore.Mvc.ConflictResult
override this.Conflict : unit -> Microsoft.AspNetCore.Mvc.ConflictResult
Public Overridable Function Conflict () As ConflictResult
반환
응답에 대해 만든 ConflictResult.
- 특성