Lifetime Enum

Definition

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.

Applies to