| description | Learn more about: FactoryCacheFlags Enumeration | |
|---|---|---|
| title | FactoryCacheFlags Enumeration | |
| ms.date | 11/04/2016 | |
| ms.topic | reference | |
| f1_keywords |
|
|
| ms.assetid | 6f54258f-0144-4264-9608-414e5905f6fb |
Determines whether factory objects are cached.
enum FactoryCacheFlags;By default, the factory caching policy is specified as the ModuleType template parameter when you create a Module object. To override this policy, specify a FactoryCacheFlags value when you create a factory object.
| Policy | Description |
|---|---|
FactoryCacheDefault |
The caching policy of the Module object is used. |
FactoryCacheEnabled |
Enables factory caching regardless of the ModuleType template parameter that is used to create a Module object. |
FactoryCacheDisabled |
Disables factory caching regardless of the ModuleType template parameter that is used to create a Module object. |
Header: implements.h
Namespace: Microsoft::WRL