语言

IClientErrorActionResult 接口

定义

IStatusCodeActionResult可以转换为更具描述性的客户端错误的 。

public interface class IClientErrorActionResult : Microsoft::AspNetCore::Mvc::IActionResult, Microsoft::AspNetCore::Mvc::Infrastructure::IStatusCodeActionResult
public interface IClientErrorActionResult : Microsoft.AspNetCore.Mvc.IActionResult, Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult
type IClientErrorActionResult = interface
    interface IStatusCodeActionResult
    interface IActionResult
type IClientErrorActionResult = interface
    interface IActionResult
    interface IStatusCodeActionResult
Public Interface IClientErrorActionResult
Implements IActionResult, IStatusCodeActionResult
派生
实现

属性

名称 说明
StatusCode

获取 HTTP 状态代码。

(继承自 IStatusCodeActionResult)

方法

名称 说明
ExecuteResultAsync(ActionContext)

异步执行操作方法的结果操作。 MVC 调用此方法来处理操作方法的结果。

(继承自 IActionResult)

适用于