微软认证
windowsazure常见问题处理及技巧
日期:2014-04-28 17:34
to be called before FromConfigurationSetting can be used.
解决方案:
在 public override bool OnStart()中加入以下代码:
CloudStorageAccount.SetConfigurationSettingPublisher((configName, configSetter) =
{
configSetter(RoleEnvironment.GetConfigurationSettingValue(configName));
RoleEnvironment.Changed += (anotherSender, arg) =
{
if (arg.Changes.OfTypeRoleEnvironmentConfigurationSettingChange()
。Any((change) = (change.ConfigurationSettingName == configName))

4/5 下一页 上一页 首页 尾页

微软认证


返回 刷新 WAP首页 网页版 登录
05/03 09:07