ObjectResult Class

Definition

public ref class ObjectResult : Microsoft::AspNetCore::Mvc::ActionResult
public ref class ObjectResult : Microsoft::AspNetCore::Mvc::ActionResult, Microsoft::AspNetCore::Mvc::IActionResult, Microsoft::AspNetCore::Mvc::Infrastructure::IStatusCodeActionResult
public class ObjectResult : Microsoft.AspNetCore.Mvc.ActionResult
public class ObjectResult : Microsoft.AspNetCore.Mvc.ActionResult, Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult
type ObjectResult = class
    inherit ActionResult
type ObjectResult = class
    inherit ActionResult
    interface IStatusCodeActionResult
    interface IActionResult
type ObjectResult = class
    inherit ActionResult
    interface IActionResult
    interface IStatusCodeActionResult
Public Class ObjectResult
Inherits ActionResult
Public Class ObjectResult
Inherits ActionResult
Implements IActionResult, IStatusCodeActionResult
Inheritance
ObjectResult
Derived
Implements

Constructors

ObjectResult(Object)

Properties

ContentTypes
DeclaredType
Formatters
StatusCode

Gets or sets the HTTP status code.

Value

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)
OnFormatting(ActionContext)

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

Applies to