Movatterモバイル変換


[0]ホーム

URL:


Skip to main contentSkip to in-page navigation

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

ActionResult Class

Definition

Namespace:
Microsoft.AspNetCore.Mvc
Assembly:
Microsoft.AspNetCore.Mvc.Core.dll
Package:
Microsoft.AspNetCore.Mvc.Core v1.0.0
Package:
Microsoft.AspNetCore.Mvc.Core v1.1.0
Package:
Microsoft.AspNetCore.App.Ref v10.0.0
Package:
Microsoft.AspNetCore.Mvc.Core v2.0.0
Package:
Microsoft.AspNetCore.Mvc.Core v2.1.0
Package:
Microsoft.AspNetCore.Mvc.Core v2.2.0
Package:
Microsoft.AspNetCore.App.Ref v3.0.1
Package:
Microsoft.AspNetCore.App.Ref v3.1.10
Package:
Microsoft.AspNetCore.App.Ref v5.0.0
Package:
Microsoft.AspNetCore.App.Ref v6.0.6
Package:
Microsoft.AspNetCore.App.Ref v7.0.5
Package:
Microsoft.AspNetCore.App.Ref v8.0.19
Package:
Microsoft.AspNetCore.App.Ref v9.0.8
Source:
ActionResult.cs
Source:
ActionResult.cs
Source:
ActionResult.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A default implementation ofIActionResult.

public ref class ActionResult abstract : Microsoft::AspNetCore::Mvc::IActionResult
public abstract class ActionResult : Microsoft.AspNetCore.Mvc.IActionResult
type ActionResult = class    interface IActionResult
Public MustInherit Class ActionResultImplements IActionResult
Inheritance
ActionResult
Derived
Implements

Constructors

NameDescription
ActionResult()

Methods

NameDescription
ExecuteResult(ActionContext)

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

ExecuteResultAsync(ActionContext)

Executes the result operation of the action method asynchronously. This method is called by MVC to processthe result of an action method.The default implementation of this method calls theExecuteResult(ActionContext) method andreturns a completed task.

Applies to


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?