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

与方案关联的身份验证选项。

适用于