DelegatingConfigHost.IsFullTrustSectionWithoutAptcaAllowed 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示設定區段是否需要完全受信任的程式碼存取安全等級,且不允許該 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
參數
- configRecord
- IInternalConfigRecord
傳回
true若設定區塊要求完全受信任的程式碼存取安全層級,且不允許該AllowPartiallyTrustedCallersAttribute屬性禁用隱含連結需求;否則, false