ActivatorLevel 枚举

定义

定义 Activator 在激活器链中的适当位置。

public enum class ActivatorLevel
[System.Serializable]
public enum ActivatorLevel
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public enum ActivatorLevel
[<System.Serializable>]
type ActivatorLevel = 
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ActivatorLevel = 
Public Enum ActivatorLevel
继承
ActivatorLevel
属性

字段

AppDomain 12

找到或创建 AppDomain

Construction 4

构造空白对象并运行构造函数。

Context 8

找到或创建适合的上下文。

Machine 20

找到适合的计算机。

Process 16

启动进程。

注解

激活器的设计允许多个激活器参与激活过程,并且可以使用 将其他激活器添加到链 IActivator.NextActivator 中。 由于每个激活器负责调用链中的下一个激活器,因此激活器可以将自身定位在链中的任何位置。 ActivatorLevel枚举器可帮助激活器在链中查找适当的位置。

适用于