Share via


IBuilderContext.PersistentPolicies 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 Unity Application Block information can be found at the Unity Application Block site.

The set of policies that were passed into this context.

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

Syntax

'Declaration
ReadOnly Property PersistentPolicies As IPolicyList
IPolicyList PersistentPolicies { get; }
property IPolicyList^ PersistentPolicies {
    IPolicyList^ get ();
}
function get PersistentPolicies () : IPolicyList

Field Value

The persistent policies for the current context.

Remarks

This returns the policies passed into the context. Policies added here will remain after buildup completes.

See Also

IBuilderContext Interface

Microsoft.Practices.ObjectBuilder2 Namespace