다음을 통해 공유


UnityLifetimeElement.CreateLifetimeManager Method

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.

Create the lifetime manager instance configured in this section.

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

Syntax

'Declaration
Public Function CreateLifetimeManager As LifetimeManager
public LifetimeManager CreateLifetimeManager()
public:
LifetimeManager^ CreateLifetimeManager()
public function CreateLifetimeManager() : LifetimeManager

Return Value

The lifetime manager configured.

See Also

UnityLifetimeElement Class

Microsoft.Practices.Unity.Configuration Namespace