public async void readMessage()
        {
            try
            {
                var items = await chatTable.ToCollectionAsync();
                var temp = items;

                for (var i = 0; i < items.Count; i++)
                {
                    var oldChat = new ChatMessage();
                    oldChat.From = items[i].From;
                    oldChat.DateTime = items[i].DateTime;
                    oldChat.Content = items[i].Content;
                    TextBoxChatMessages.Text += Environment.NewLine + oldChat.ToString();
                }
            }
            catch
            {

            }
        }
 private void linemessage(MobileServiceCollection<ChatMessage, ChatMessage> items)
 {
     //throw new NotImplementedException();
     for (int i = 0; i < items.Count; i++)
     {
         var oldChat = new ChatMessage();
         oldChat.From = items[i].From;
         oldChat.DateTime = items[i].DateTime;
         oldChat.Content = items[i].Content;
         TextBoxChatMessages.Text += Environment.NewLine + oldChat.ToString();
     }
 }
        private async void InsertChatMessage(ChatMessage message)
        {
            try
            {
                TextBoxChatMessages.Text += string.Format("{0}\n", message.ToString());
                //message = output;
                await chatTable.InsertAsync(message);
                ReadyForNextMessage();
            }
            catch
            {

            }
        }