←Select platform

UpdatePolicy Method

Summary

Update the policy of an existing cache item.

Syntax
C#
C++/CLI
Java
Python
public override void UpdatePolicy( 
   string key, 
   CacheItemPolicy policy, 
   string regionName 
) 
public:  
   virtual void UpdatePolicy( 
      String^ key, 
      CacheItemPolicy^ policy, 
      String^ regionName 
   ) override 
public updatePolicy(String key, CacheItemPolicy policy, String regionName) 
def UpdatePolicy(self,key,policy,regionName): 

Parameters

key

Unique item identifier.

policy

New expiration policy to use with this item.

regionName

Optional region (sub-directory) name.

Requirements

Target Platforms

Help Version 22.0.2023.5.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Caching Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.