Partager via


TypeRegistration.Lifetime Property

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 Enterprise Library information can be found at the Enterprise Library site.

The required lifetime for this service implementation.

Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel
Assembly: Microsoft.Practices.EnterpriseLibrary.Common.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Common.Silverlight.dll) Version: 5.0.505.0

Syntax

public TypeRegistrationLifetime Lifetime { get; set; }
'Declaration
Public Property Lifetime As TypeRegistrationLifetime
    Get
    Set
public:
property TypeRegistrationLifetime Lifetime {
    TypeRegistrationLifetime get ();
    void set (TypeRegistrationLifetime value);
}

See Also

TypeRegistration Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel Namespace