共用方式為


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()

來源:
ForbidResult.cs
來源:
ForbidResult.cs
來源:
ForbidResult.cs

初始化 ForbidResult的新實例。

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

適用於

ForbidResult(AuthenticationProperties)

來源:
ForbidResult.cs
來源:
ForbidResult.cs
來源:
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>)

來源:
ForbidResult.cs
來源:
ForbidResult.cs
來源:
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)

來源:
ForbidResult.cs
來源:
ForbidResult.cs
來源:
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)

來源:
ForbidResult.cs
來源:
ForbidResult.cs
來源:
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)

來源:
ForbidResult.cs
來源:
ForbidResult.cs
來源:
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 用來執行驗證挑戰。

適用於