SetupIsolatedStorageCacheNamedExtension.SetupIsolatedStorageCacheNamed 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 Enterprise Library information can be found at the Enterprise Library site. |
Adds a IsolatedStorageCache to the caching configuration settings.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0
Syntax
public static ISetupIsolatedStorageCacheNamed SetupIsolatedStorageCacheNamed(
this IConfigureCaching context,
string cacheName
)
'Declaration
<ExtensionAttribute> _
Public Shared Function SetupIsolatedStorageCacheNamed ( _
context As IConfigureCaching, _
cacheName As String _
) As ISetupIsolatedStorageCacheNamed
[ExtensionAttribute]
public:
static ISetupIsolatedStorageCacheNamed^ SetupIsolatedStorageCacheNamed(
IConfigureCaching^ context,
String^ cacheName
)
Parameters
- context
Type: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent.IConfigureCaching
Fluent interface extension point.
- cacheName
Type: System.String
The name of the IsolatedStorageCache that should be configured.
Return Value
Fluent interface to further configure the created IsolatedStorageCacheData.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IConfigureCaching. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
SetupIsolatedStorageCacheNamedExtension Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace
Microsoft.Practices.EnterpriseLibrary.Caching.IsolatedStorageCache
Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.IsolatedStorageCacheData