• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Welcome to Leon's Blog
博客园    首页    新随笔    联系   管理    订阅  订阅

About IConfigurationSectionHandler Interface

Instances of the IConfigurationSectionHandler class must be thread safe and stateless. The Create method must be callable from multiple threads simultaneously.

Furthermore, the configuration object generated by the Create method must be thread safe and immutable. Because the configuration objects are cached by the configuration system, it is important not to modify the parent argument to the Create method. For example, if the return value of Create is only a small modification of the parent, actual modifications must be made on a clone of the parent, not the original.

 

http://msdn.microsoft.com/zh-cn/library/ms228056(v=vs.80).aspx

 

http://www.cnblogs.com/guozhijian/archive/2008/01/26/1054210.html

 

http://www.codeproject.com/Articles/10981/Understanding-Section-Handlers-App-config-File

 

Example Code

posted @ 2012-05-09 14:10  Leon916  阅读(175)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3