ConfigurationAuthenticationModuleService 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供用于实现配置身份验证的新管理模块的基类。
public ref class ConfigurationAuthenticationModuleService abstract : Microsoft::Web::Management::Server::ModuleService, Microsoft::Web::Management::Server::IAuthenticationModuleService
public abstract class ConfigurationAuthenticationModuleService : Microsoft.Web.Management.Server.ModuleService, Microsoft.Web.Management.Server.IAuthenticationModuleService
type ConfigurationAuthenticationModuleService = class
inherit ModuleService
interface IAuthenticationModuleService
Public MustInherit Class ConfigurationAuthenticationModuleService
Inherits ModuleService
Implements IAuthenticationModuleService
- 继承
- 实现
注解
类的成员 ConfigurationAuthenticationModuleService 通过 ModuleServiceProxy 类公开。 派生 ConfigurationAuthenticationModuleService 类应包含管理模块的所有程序逻辑。
实施者说明
从 ConfigurationAuthenticationModuleService 类继承时,必须重写以下成员: EnabledPropertyName 属性和 SectionName 属性
构造函数
ConfigurationAuthenticationModuleService() |
初始化 ConfigurationAuthenticationModuleService 类的新实例。 |
属性
Context |
获取模块服务的管理上下文。 (继承自 ModuleService) |
EnabledPropertyName |
在派生类中重写时,获取指定启用值的属性名称。 |
ManagementUnit |
ManagementUnit获取当前由模块服务管理的 。 (继承自 ModuleService) |
ModuleName |
获取包含模块服务的程序集的名称。 (继承自 ModuleService) |
SectionName |
在派生类中重写时,获取配置节的名称。 |
方法
CreateChildService(Type) |
创建子 ModuleService 对象。 (继承自 ModuleService) |
GetEnabledProperty(ConfigurationElement) |
检索包含指定元素的配置属性。 |
GetSection(Type) |
从当前应用程序的默认配置文件中检索节。 |
RaiseException(Exception) |
提供用于实现配置身份验证的新管理模块的基类。 (继承自 ModuleService) |
RaiseException(String) |
WebManagementServiceException根据指定的资源名称引发 。 (继承自 ModuleService) |
RaiseException(String, String) |
WebManagementServiceException根据指定的资源名称和错误消息引发 。 (继承自 ModuleService) |
显式接口实现
IAuthenticationModuleService.IsEnabled() |
返回 方法的值 IsEnabled() 。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈