当前位置: 移动技术网 > IT编程>开发语言>.net > .net清空所有Cache的实现代码

.net清空所有Cache的实现代码

2017年12月12日  | 移动技术网IT编程  | 我要评论

安辰传奇一条龙,英语手抄小报,愚者的谢幕曲

复制代码 代码如下:

idictionaryenumerator cacheenum = cache.getenumerator();
while (cacheenum.movenext())
{
cache.remove(cacheenum.key.tostring());
}
response.write("缓存清空成功");

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网