HttpRuntimeSection.AllowDynamicModuleRegistration 属性

定义

获取或设置一个值,该值指示是否允许 RegisterModule(Type) 方法调用。 默认值为 true

public:
 property bool AllowDynamicModuleRegistration { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("allowDynamicModuleRegistration", DefaultValue=true)]
public bool AllowDynamicModuleRegistration { get; set; }
[<System.Configuration.ConfigurationProperty("allowDynamicModuleRegistration", DefaultValue=true)>]
member this.AllowDynamicModuleRegistration : bool with get, set
Public Property AllowDynamicModuleRegistration As Boolean

属性值

Boolean

如果允许 RegisterModule(Type) 方法调用,则为 true;否则为 false

属性

适用于