1
Answer

Best way to terminate webservice call after 2 seconds ( framework 4.8)

karuna devi

karuna devi

3y
441
1

Hi, 

Which is the best way to terminate long running webservice call. When using Task, its not really cancelling the task in time. Cancel is happen only the when the control come back again.

Is it ok to use threading, separate thread to handle webservice call and aboart it after 2 seconds.

Please advise whether i can use Task or Seaparte Thread.

 

 

 

Answers (1)