Lifetime Enum
Definition
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.
Caution
This enumeration is obsolete and will be removed
Specifies the lifetime for this activated component.
public enum class Lifetime
[System.Obsolete("This enumeration is obsolete and will be removed")]
public enum Lifetime
type Lifetime =
Public Enum Lifetime
- Inheritance
-
Lifetime
- Attributes
Fields
Singleton | 0 | Specifies the singleton lifetime. |
Transient | 1 | Specifies the transient lifetime. |