I'm dealing with something strange - earlier I was able to list all my data in a list view control using the following code: Now after couple day I get an InvalidOperationsException.
If wresults.WorkItems.Any Then
'Dim wref As IEnumerable(Of WorkItemReference)
LV_WIT.View = View.Details
For wit = 0 To wresults.WorkItems.Count - 1
Debug.Print("Work Item id:- " & wresults.WorkItems(wit).Id) [This prints well]
LV_WIT.Items.Add(wresults(wit).Id)
Next
End If