ActivatorLevel 枚举
定义
public enum class ActivatorLevel
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public enum ActivatorLevel
type ActivatorLevel =
Public Enum ActivatorLevel
- 继承
- 属性
字段
AppDomain | 12 | |
Construction | 4 | 构造空白对象并运行构造函数。Constructs a blank object and runs the constructor. |
Context | 8 | 找到或创建适合的上下文。Finds or creates a suitable context. |
Machine | 20 | 找到适合的计算机。Finds a suitable computer. |
Process | 16 | 启动进程。Starts a process. |
注解
激活器的设计允许多个激活器参与激活过程, 并且可以使用IActivator.NextActivator将其他激活器添加到链。The design of activators allows for more than one activator to participate in the activation process, and additional activators can be added to the chain by using IActivator.NextActivator. 由于每个激活器都负责调用链中的下一个激活器, 因此激活器可将其自身定位到链中的任何位置。Because each activator is responsible for calling the next one in the chain, an activator can position itself anywhere in the chain. ActivatorLevel枚举器可帮助激活器在链中找到适当的位置。The ActivatorLevel enumerator helps activators find the appropriate position in the chain.