IInternalConfigHost.IsFullTrustSectionWithoutAptcaAllowed 方法

定义

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

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

参数

返回

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

适用于