VB.net Getworkitemsasync

LoveToCode 161 Reputation points
2021-04-12T08:52:52.243+00:00

I'm trying to fetch all work items below is my code - I get an exception Exception thrown: 'Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException' in System.Private.CoreLib.dll

    Public Async Function PopulateWITs As List(Of Integer)) As Task(Of Integer)

        For i = 0 To workitemslist.Count - 1
            Dim wid = Await WitClient.GetWorkItemsAsync(workitemslist, WorkItemFields, queryResults.AsOf).ConfigureAwait(False)
            Stop

        Next
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,571 questions
0 comments No comments
{count} votes