ConfigurationAuthenticationModuleService 类

定义

提供用于实现配置身份验证的新管理模块的基类。

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
实现

注解

类的成员 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()

适用于