Bewerken

Share via


ActivatorLevel Enum

Definition

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
ActivatorLevel
Attributes

Fields

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.

Remarks

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.

Applies to