ChallengeResult 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
执行 ActionResult 时调用 的 HttpContext.ChallengeAsync。
public ref class ChallengeResult : Microsoft::AspNetCore::Mvc::ActionResultpublic class ChallengeResult : Microsoft.AspNetCore.Mvc.ActionResulttype ChallengeResult = class
    inherit ActionResultPublic Class ChallengeResult
Inherits ActionResult- 继承
构造函数
| ChallengeResult() | 初始化 ChallengeResult 的新实例。 | 
| ChallengeResult(AuthenticationProperties) | 用指定的 ChallengeResult 初始化  | 
| ChallengeResult(AuthenticationProperties) | 用指定的 ChallengeResult 初始化  | 
| ChallengeResult(IList<String>) | 使用指定的身份验证方案初始化 的新实例 ChallengeResult 。 | 
| ChallengeResult(IList<String>, AuthenticationProperties) | 使用指定的身份验证方案和  | 
| ChallengeResult(IList<String>, AuthenticationProperties) | 使用指定的身份验证方案和  | 
| ChallengeResult(String) | 使用指定的身份验证方案初始化 的新实例 ChallengeResult 。 | 
| ChallengeResult(String, AuthenticationProperties) | 使用指定的身份验证方案和  | 
| ChallengeResult(String, AuthenticationProperties) | 使用指定的身份验证方案和  | 
属性
| AuthenticationSchemes | 获取或设置被质询的身份验证方案。 | 
| Properties | 获取或设置 AuthenticationProperties 用于执行身份验证质询的 。 | 
方法
| ExecuteResult(ActionContext) | 同步执行操作方法的结果操作。 MVC 调用此方法来处理操作方法的结果。(继承自 ActionResult) | 
| ExecuteResultAsync(ActionContext) | 异步执行操作方法的结果操作。 MVC 调用此方法来处理操作方法的结果。 此方法的默认实现调用 ExecuteResult(ActionContext) 方法并返回已完成的任务。 |