Freigeben über


TransientLifetimeManager 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.

An LifetimeManager implementation that does nothing, thus ensuring that instances are created new every time.

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

Syntax

'Declaration
Public Class TransientLifetimeManager _
    Inherits LifetimeManager
public class TransientLifetimeManager : LifetimeManager
public ref class TransientLifetimeManager : public LifetimeManager
public class TransientLifetimeManager extends LifetimeManager

Inheritance Hierarchy

System.Object
  Microsoft.Practices.Unity.LifetimeManager
    Microsoft.Practices.Unity.TransientLifetimeManager

See Also

TransientLifetimeManager Members

Microsoft.Practices.Unity Namespace