語言

AppDomainSetup.SandboxInterop 屬性

定義

取得或設定一個值,指示在應用域中是否關閉介面快取,讓每個呼叫都執行 a QueryInterface 。

public:
 property bool SandboxInterop { bool get(); void set(bool value); };
public bool SandboxInterop { get; set; }
member this.SandboxInterop : bool with get, set
Public Property SandboxInterop As Boolean

屬性值

true如果在以目前AppDomainSetup物件建立的應用程式域中,互操作呼叫被禁用介面快取;否則, false

備註

關閉介面快取會對互操作呼叫的效能產生重大影響。

此成員於 .NET Framework 3.5 中引入。

適用於