AppDomainSetup.SandboxInterop AppDomainSetup.SandboxInterop AppDomainSetup.SandboxInterop AppDomainSetup.SandboxInterop Property

定义

获取或设置一个值,该值指示是否在应用程序域中为互操作调用禁用接口缓存,从而对每个调用执行 QueryInterfaceGets or sets a value that indicates whether interface caching is disabled for interop calls in the application domain, so that a QueryInterface is performed on each call.

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 对象创建的应用程序域中的互操作调用禁用接口缓存,则为 true;否则为 falsetrue if interface caching is disabled for interop calls in application domains created with the current AppDomainSetup object; otherwise, false.

注解

禁用接口缓存会对互操作调用的性能产生显著影响。Disabling interface caching has a significant impact on the performance of interop calls.

此成员是在中引入.NET Framework 3.5.NET Framework 3.5的。This member is introduced in the .NET Framework 3.5.NET Framework 3.5.

适用于