Configure the cache
Namespace: NHibernate.CacheAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public ICache BuildCache( string regionName, IDictionary<string, string> properties ) |
Visual Basic |
---|
Public Function BuildCache ( _ regionName As String, _ properties As IDictionary(Of String, String) _ ) As ICache |
Visual C++ |
---|
public: virtual ICache^ BuildCache( String^ regionName, IDictionary<String^, String^>^ properties ) sealed |
Parameters
- regionName
- Type: System..::..String
the name of the cache region
- properties
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
configuration settings
Return Value
[Missing <returns> documentation for "M:NHibernate.Cache.NoCacheProvider.BuildCache(System.String,System.Collections.Generic.IDictionary{System.String,System.String})"]
Implements
ICacheProvider..::..BuildCache(String, IDictionary<(Of <<'(String, String>)>>))Exceptions
Exception | Condition |
---|---|
NHibernate.Cache..::..CacheException |