Compartilhar via


SecurityCacheFactory.GetSecurityCacheProvider 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.

Returns the default ISecurityCacheProvider instance. Guaranteed to return an intialized ISecurityCacheProvider if no exception thrown

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security (in Microsoft.Practices.EnterpriseLibrary.Security.dll)

Syntax

'Declaration
PublicSharedFunctionGetSecurityCacheProviderAs ISecurityCacheProvider
publicstatic ISecurityCacheProvider GetSecurityCacheProvider()
public:
static ISecurityCacheProvider^ GetSecurityCacheProvider()
publicstaticfunctionGetSecurityCacheProvider() : ISecurityCacheProvider

Return Value

Default SecurityCache provider instance.

Exceptions

Exception Condition
System.Configuration.ConfigurationException Unable to create default ISecurityCacheProvider

See Also

SecurityCacheFactory Class

GetSecurityCacheProvider Overload

Microsoft.Practices.EnterpriseLibrary.Security Namespace

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.