MemoryCache Constructor (String^, NameValueCollection^, Boolean)
Initializes a new instance of the MemoryCache class.
Assembly: System.Runtime.Caching (in System.Runtime.Caching.dll)
public: MemoryCache( String^ name, NameValueCollection^ config, bool ignoreConfigSection )
Parameters
- name
-
Type:
System::String^
The name to use to look up configuration information.
- config
-
Type:
System.Collections.Specialized::NameValueCollection^
A collection of name/value pairs of configuration information to use for configuring the cache.
- ignoreConfigSection
-
Type:
System::Boolean
Indicates whether the configuration section should be ignored.
.NET Framework
Available since 4.7
Available since 4.7
Show: