DelegatingConfigHost.IsFullTrustSectionWithoutAptcaAllowed 方法

定义

返回一个值,它指示配置节是否需要完全受信任的代码访问安全级别,并且不允许 AllowPartiallyTrustedCallersAttribute 特性禁用隐式链接请求。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual bool IsFullTrustSectionWithoutAptcaAllowed(System::Configuration::Internal::IInternalConfigRecord ^ configRecord);
public virtual bool IsFullTrustSectionWithoutAptcaAllowed (System.Configuration.Internal.IInternalConfigRecord configRecord);
abstract member IsFullTrustSectionWithoutAptcaAllowed : System.Configuration.Internal.IInternalConfigRecord -> bool
override this.IsFullTrustSectionWithoutAptcaAllowed : System.Configuration.Internal.IInternalConfigRecord -> bool
Public Overridable Function IsFullTrustSectionWithoutAptcaAllowed (configRecord As IInternalConfigRecord) As Boolean

参数

返回

如果配置节需要完全受信任的代码访问安全级别并且不允许 AllowPartiallyTrustedCallersAttribute 特性禁用隐式链接请求,则为 true;否则为 false

实现

适用于