ILifetimePolicy Interface

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.

A IBuilderPolicy that controls how instances are persisted and recovered from an external store. Used to implement things like singletons and per-http-request lifetime.

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

Syntax

'Declaration
Public Interface ILifetimePolicy _
    Implements IBuilderPolicy
public interface ILifetimePolicy : IBuilderPolicy
public interface class ILifetimePolicy : IBuilderPolicy
public interface ILifetimePolicy extends IBuilderPolicy

See Also

ILifetimePolicy Members

Microsoft.Practices.ObjectBuilder2 Namespace