public EntryPage() { InitializeComponent(); StandardTileData sd = new StandardTileData { Title = "Property Viewer", BackgroundImage = new Uri("Background.png", UriKind.Relative), Count = 0 }; ShellTile st = ShellTile.ActiveTiles.ElementAt(0); st.Update(sd); client = new ImageServiceClient(); string channelName = "ChannelName"; httpChannel = HttpNotificationChannel.Find(channelName); if (httpChannel != null) { channelUri = httpChannel.ChannelUri; client.SetUrlAsync(channelUri); } else { httpChannel = new HttpNotificationChannel(channelName); httpChannel.ErrorOccurred += OnErrorOccurred; httpChannel.Open(); channelUri = httpChannel.ChannelUri; } httpChannel.ChannelUriUpdated += OnChannelUriUpdated; client.resetCompleted += OnResetCompleted; }