Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I have been wanting to use the above to change the setting of my azure account and have found out how to do it here:
C++
http://www.codeproject.com/KB/azure/azure-configuration.aspx

but can't seem to convert it into VB.

How do you convert the following:
VB
public static Action<string, Func<string,bool>> GetConfigurationSettingPublisher()
{
    if (RoleEnvironment.IsAvailable)
      return (configName, configSetter) =>
    configSetter(RoleEnvironment.GetConfigurationSettingValue(configName));
    return (configName, configSetter) =>
    configSetter(ConfigurationManager.AppSettings[configName]);
}


into the code for this shell:
C#
Imports Microsoft.WindowsAzure
Class StorageAccountFactory
    Public Shared Function SetConfigurationSettingPublisher() As Action(Of String, Func(Of String, Boolean))
'
'
'
'
    End Function

End Class
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900