AppDomainManagerInitializationOptions AppDomainManagerInitializationOptions AppDomainManagerInitializationOptions AppDomainManagerInitializationOptions Enum

定义

指定在初始化一个新域时自定义应用程序域管理器应采取的操作。Specifies the action that a custom application domain manager takes when initializing a new domain.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class AppDomainManagerInitializationOptions
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum AppDomainManagerInitializationOptions
type AppDomainManagerInitializationOptions = 
Public Enum AppDomainManagerInitializationOptions
继承
AppDomainManagerInitializationOptionsAppDomainManagerInitializationOptionsAppDomainManagerInitializationOptionsAppDomainManagerInitializationOptions
属性

字段

None None None None 0

无初始化操作。No initialization action.

RegisterWithHost RegisterWithHost RegisterWithHost RegisterWithHost 1

向非托管主机注册当前 AppDomainManager 的 COM 可调用包装。Register the COM callable wrapper for the current AppDomainManager with the unmanaged host.

注解

中的属性设置为使用这些标志AppDomainManager类。These flags are used for property settings in the AppDomainManager class. AppDomainManagerInitializationOptions标志应用仅与自定义应用程序域管理器; 它们不应用于默认的管理器。The AppDomainManagerInitializationOptions flags apply only to custom application domain managers; they do not apply to the default manager. InitializeNewDomain默认应用程序域管理器中的方法不执行任何操作。The InitializeNewDomain method in the default application domain manager does nothing. 默认枚举值为 None。The default enumeration value is None.

适用于