AppDomainSetup.SandboxInterop 屬性

定義

取得或設定值,指出是否已停用應用程式定義域中 Interop 呼叫的介面快取,以便在每個呼叫上執行 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

屬性值

如果針對使用目前 AppDomainSetup 物件所建立應用程式定義域中的 Interop 呼叫,停用介面快取,則為 true,否則為 false

備註

停用介面快取會對 Interop 呼叫的效能產生重大影響。

此成員會在 .NET Framework 3.5 中引進。

適用於