ApiController.Conflict 方法

定义

创建 ConflictResult (409 冲突) 。

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual System.Web.Http.ConflictResult Conflict ();
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Conflict : unit -> System.Web.Http.ConflictResult
override this.Conflict : unit -> System.Web.Http.ConflictResult
Public Overridable Function Conflict () As ConflictResult

返回

一个 ConflictResult

属性

适用于