0
if(isLongRunning && null != Client && Client.Timeout != System.Threading.Timeout.InfiniteTimeSpan)
{
    Client.Timeout = System.Threading.Timeout.InfiniteTimeSpan;
}

screen shot of the code snippet

assigning InfiniteTimeSpan to HttpClient.Timeout giving me an exception that I can't see. exception says null, I wonder if there is a intermedia level I can see what this exception is?

Screenshot of the null execption

Anyone knows why this would blow up?

garyzhang
  • 1
  • 1

0 Answers0