public ProfileClient(AzureSMProfile profile) { Profile = profile; WarningLog = (s) => Debug.WriteLine(s); try { UpgradeProfile(); } catch { // Should never fail in constructor } }