Previous in Contents Next in Contents

The ConfigurationCacheHelper Object

Each time a pipeline configuration is loaded, a pipeline configuration file (.pcf) is read from disk. The ConfigurationCacheHelper object enables the pipeline to cache the pipeline configuration file in memory for any subsequent load operation, helping to reduce the performance penalty associated with disk access.

The ConfigurationCacheHelper object supports the following methods.

Property Description
DeleteCacheEntry Deletes the configuration specified by the token from cache memory.
LoadFromCache Retrieves a pipeline configuration previously saved in memory and loads this configuration into the specified pipeline.
SaveToCache Saves in memory the configuration used by the specified pipeline, and returns a unique token that can be used later to retrieve the cached configuration.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.