ConfigurationManager.RefreshSection("yoursection/subsection");
参考:
.net dynamically refresh app.config
http://stackoverflow.com/questions/272097/net-dynamically-refresh-app-config
参考:
.net dynamically refresh app.config
http://stackoverflow.com/questions/272097/net-dynamically-refresh-app-config
Application.Restart();