共用方式為


ResultContext<TOptions> 建構函式

定義

初始化 ResultContext<TOptions> 的新執行個體。

protected:
 ResultContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, TOptions options);
protected ResultContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, TOptions options);
new Microsoft.AspNetCore.Authentication.ResultContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)> : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * 'Options -> Microsoft.AspNetCore.Authentication.ResultContext<'Options (requires 'Options :> Microsoft.AspNetCore.Authentication.AuthenticationSchemeOptions)>
Protected Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TOptions)

參數

context
HttpContext

內容。

scheme
AuthenticationScheme

驗證配置。

options
TOptions

與配置相關聯的驗證選項。

適用於