private void query_QueryResponse(object sender, QueryResponseEventArgs e) { if (e.ResponseEventType.Equals(QueryResponseEventType.Error)) { Error(e.Errors[0]); } else { AccountQuery query = sender as AccountQuery; // Request more data if (query != null) { if (query.State == QueryState.MoreImagesAvailable) { query.RequestMoreData(); } } // Consume data BindingList <Account> list = this.query.GetList(); foreach (Account account in list) { this.Output += account.AccountCode; } OnPropertyChanged(new PropertyChangedEventArgs("Output")); } }