Method GetCache
GetCache(String, CacheConnectionOptions, String, CacheConnectionOptions)
Returns an instance of ICache for this application.
Declaration
public static ICache GetCache(string cacheName, CacheConnectionOptions cacheConnectionOptions = null, string clientCacheName = null, CacheConnectionOptions clientCacheConnectionOptions = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
cacheName | The identifier for the ICache. |
Cache |
cacheConnectionOptions | Cache |
System. |
clientCacheName | The identifier for the ClientCache. |
Cache |
clientCacheConnectionOptions | Cache |
Returns
Remarks
The clientCacheName
parameter represents the registration/config name of the Client Cache (L1 Cache).
Depending upon the configuration the ICache object is
created InProc or OutProc.
Exceptions
Type | Condition |
---|---|
System. |
|