共用方式為


AccessDeniedContext 建構函式

定義

初始化 AccessDeniedContext 的新執行個體。

public:
 AccessDeniedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^ options);
public AccessDeniedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options);
new Microsoft.AspNetCore.Authentication.AccessDeniedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions -> Microsoft.AspNetCore.Authentication.AccessDeniedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As RemoteAuthenticationOptions)

參數

適用於