ContainerLifetime 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.
Lifetime modes for container resources.
public enum ContainerLifetime
type ContainerLifetime =
Public Enum ContainerLifetime
- Inheritance
-
ContainerLifetime
Fields
Name | Value | Description |
---|---|---|
Session | 0 | Create the resource when the app host process starts and dispose of it when the app host process shuts down. |
Persistent | 1 | Attempt to re-use a previously created resource (based on the container name) if one exists. Do not destroy the container on app host process shutdown. |