ActivatorLevel Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the appropriate position for a Activator in the chain of activators.
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
- Inheritance
- Attributes
Name | Value | Description |
---|---|---|
Construction | 4 | Constructs a blank object and runs the constructor. |
Context | 8 | Finds or creates a suitable context. |
AppDomain | 12 | Finds or creates a AppDomain. |
Process | 16 | Starts a process. |
Machine | 20 | Finds a suitable computer. |
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. The ActivatorLevel enumerator helps activators find the appropriate position in the chain.
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: