public App() { _clientSession = new SessionClient(); _clientSession.GetSessionAsync(CurrentSystemInfo.SessionKey); _clientSession.GetSessionCompleted+=GetSessionCompleted; AppSettings = IsolatedStorageSettings.ApplicationSettings; this.Startup += this.Application_Startup; this.Exit += this.Application_Exit; this.UnhandledException += this.Application_UnhandledException; InitializeComponent(); }