ForbidResult 构造函数

定义

重载

ForbidResult()

初始化 ForbidResult的新实例。

ForbidResult(AuthenticationProperties)

使用指定的 properties初始化 ForbidResult 的新实例。

ForbidResult(AuthenticationProperties)

使用指定的 properties初始化 ForbidResult 的新实例。

ForbidResult(IList<String>)

使用指定的身份验证方案初始化 ForbidResult 的新实例。

ForbidResult(String)

使用指定的身份验证方案初始化 ForbidResult 的新实例。

ForbidResult(IList<String>, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

ForbidResult(IList<String>, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

ForbidResult(String, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

ForbidResult(String, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

ForbidResult()

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

初始化 ForbidResult的新实例。

public:
 ForbidResult();
public ForbidResult ();
Public Sub New ()

适用于

ForbidResult(AuthenticationProperties)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

使用指定的 properties初始化 ForbidResult 的新实例。

public:
 ForbidResult(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ForbidResult (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (properties As AuthenticationProperties)

参数

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ForbidResult(AuthenticationProperties)

使用指定的 properties初始化 ForbidResult 的新实例。

public:
 ForbidResult(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (properties As AuthenticationProperties)

参数

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ForbidResult(IList<String>)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

使用指定的身份验证方案初始化 ForbidResult 的新实例。

public:
 ForbidResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes);
public ForbidResult (System.Collections.Generic.IList<string> authenticationSchemes);
new Microsoft.AspNetCore.Mvc.ForbidResult : System.Collections.Generic.IList<string> -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (authenticationSchemes As IList(Of String))

参数

authenticationSchemes
IList<String>

要质询的身份验证方案。

适用于

ForbidResult(String)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

使用指定的身份验证方案初始化 ForbidResult 的新实例。

public:
 ForbidResult(System::String ^ authenticationScheme);
public ForbidResult (string authenticationScheme);
new Microsoft.AspNetCore.Mvc.ForbidResult : string -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (authenticationScheme As String)

参数

authenticationScheme
String

要质询的身份验证方案。

适用于

ForbidResult(IList<String>, AuthenticationProperties)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

public:
 ForbidResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ForbidResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : System.Collections.Generic.IList<string> * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (authenticationSchemes As IList(Of String), properties As AuthenticationProperties)

参数

authenticationSchemes
IList<String>

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ForbidResult(IList<String>, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

public:
 ForbidResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : System.Collections.Generic.IList<string> * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (authenticationSchemes As IList(Of String), properties As AuthenticationProperties)

参数

authenticationSchemes
IList<String>

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ForbidResult(String, AuthenticationProperties)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

public:
 ForbidResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ForbidResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (authenticationScheme As String, properties As AuthenticationProperties)

参数

authenticationScheme
String

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ForbidResult(String, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 ForbidResult 的新实例。

public:
 ForbidResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
Public Sub New (authenticationScheme As String, properties As AuthenticationProperties)

参数

authenticationScheme
String

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于