Freigeben über


LifetimeManager Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Unity Application Block information can be found at the Unity Application Block site.

Base class for Lifetime managers - classes that control how and when instances are created by the Unity container.

Namespace:  Microsoft.Practices.Unity
Assembly:  Microsoft.Practices.Unity (in Microsoft.Practices.Unity.dll)

Syntax

'Declaration
Public MustInherit Class LifetimeManager _
    Implements ILifetimePolicy, IBuilderPolicy
public abstract class LifetimeManager : ILifetimePolicy, 
    IBuilderPolicy
public ref class LifetimeManager abstract : ILifetimePolicy, 
    IBuilderPolicy
public abstract class LifetimeManager implements ILifetimePolicy, IBuilderPolicy

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.LifetimeManager
    Microsoft.Practices.Unity.ExternallyControlledLifetimeManager
    Microsoft.Practices.Unity.PerThreadLifetimeManager
    Microsoft.Practices.Unity.SynchronizedLifetimeManager
    Microsoft.Practices.Unity.TransientLifetimeManager

See Also

LifetimeManager Members

Microsoft.Practices.Unity Namespace