ChallengeResult 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| ChallengeResult() | 初始化 ChallengeResult的新实例。 | 
| ChallengeResult(AuthenticationProperties) | 使用指定的  | 
| ChallengeResult(AuthenticationProperties) | 使用指定的  | 
| ChallengeResult(IList<String>) | 使用指定的身份验证方案初始化 ChallengeResult 的新实例。 | 
| ChallengeResult(String) | 使用指定的身份验证方案初始化 ChallengeResult 的新实例。 | 
| ChallengeResult(IList<String>, AuthenticationProperties) | 使用指定的身份验证方案和  | 
| ChallengeResult(IList<String>, AuthenticationProperties) | 使用指定的身份验证方案和  | 
| ChallengeResult(String, AuthenticationProperties) | 使用指定的身份验证方案和  | 
| ChallengeResult(String, AuthenticationProperties) | 使用指定的身份验证方案和  | 
ChallengeResult()
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
初始化 ChallengeResult的新实例。
public:
 ChallengeResult();public ChallengeResult ();Public Sub New ()适用于
ChallengeResult(AuthenticationProperties)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
使用指定的 properties初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);public ChallengeResult (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);public ChallengeResult (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);new Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (properties As AuthenticationProperties)参数
- properties
- AuthenticationProperties
AuthenticationProperties 用于执行身份验证质询。
适用于
ChallengeResult(AuthenticationProperties)
使用指定的 properties初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);public ChallengeResult (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);new Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (properties As AuthenticationProperties)参数
- properties
- AuthenticationProperties
AuthenticationProperties 用于执行身份验证质询。
适用于
ChallengeResult(IList<String>)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
使用指定的身份验证方案初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes);public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes);new Microsoft.AspNetCore.Mvc.ChallengeResult : System.Collections.Generic.IList<string> -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (authenticationSchemes As IList(Of String))参数
适用于
ChallengeResult(String)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
使用指定的身份验证方案初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(System::String ^ authenticationScheme);public ChallengeResult (string authenticationScheme);new Microsoft.AspNetCore.Mvc.ChallengeResult : string -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (authenticationScheme As String)参数
- authenticationScheme
- String
要质询的身份验证方案。
适用于
ChallengeResult(IList<String>, AuthenticationProperties)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
使用指定的身份验证方案和 properties初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);new Microsoft.AspNetCore.Mvc.ChallengeResult : System.Collections.Generic.IList<string> * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (authenticationSchemes As IList(Of String), properties As AuthenticationProperties)参数
- properties
- AuthenticationProperties
AuthenticationProperties 用于执行身份验证质询。
适用于
ChallengeResult(IList<String>, AuthenticationProperties)
使用指定的身份验证方案和 properties初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);new Microsoft.AspNetCore.Mvc.ChallengeResult : System.Collections.Generic.IList<string> * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (authenticationSchemes As IList(Of String), properties As AuthenticationProperties)参数
- properties
- AuthenticationProperties
AuthenticationProperties 用于执行身份验证质询。
适用于
ChallengeResult(String, AuthenticationProperties)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
使用指定的身份验证方案和 properties初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);public ChallengeResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);public ChallengeResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);new Microsoft.AspNetCore.Mvc.ChallengeResult : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (authenticationScheme As String, properties As AuthenticationProperties)参数
- authenticationScheme
- String
要质询的身份验证方案。
- properties
- AuthenticationProperties
AuthenticationProperties 用于执行身份验证质询。
适用于
ChallengeResult(String, AuthenticationProperties)
使用指定的身份验证方案和 properties初始化 ChallengeResult 的新实例。
public:
 ChallengeResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);public ChallengeResult (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);new Microsoft.AspNetCore.Mvc.ChallengeResult : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResultPublic Sub New (authenticationScheme As String, properties As AuthenticationProperties)参数
- authenticationScheme
- String
要质询的身份验证方案。
- properties
- AuthenticationProperties
AuthenticationProperties 用于执行身份验证质询。