ConflictObjectResult Class

Definition

An ObjectResult that when executed will produce a Conflict (409) response.

public ref class ConflictObjectResult : Microsoft::AspNetCore::Mvc::ObjectResult
public class ConflictObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult
[Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCode(409)]
public class ConflictObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult
type ConflictObjectResult = class
    inherit ObjectResult
Public Class ConflictObjectResult
Inherits ObjectResult
Inheritance
ConflictObjectResult
Attributes

Constructors

ConflictObjectResult(ModelStateDictionary)

Creates a new ConflictObjectResult instance.

ConflictObjectResult(Object)

Creates a new ConflictObjectResult instance.

Properties

ContentTypes (Inherited from ObjectResult)
DeclaredType (Inherited from ObjectResult)
Formatters (Inherited from ObjectResult)
StatusCode

Gets or sets the HTTP status code.

(Inherited from ObjectResult)
Value (Inherited from ObjectResult)

Methods

ExecuteResult(ActionContext)

Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method.

(Inherited from ActionResult)
ExecuteResultAsync(ActionContext) (Inherited from ObjectResult)
OnFormatting(ActionContext)

This method is called before the formatter writes to the output stream.

(Inherited from ObjectResult)

Applies to