karuna devi

karuna devi

  • NA
  • 113
  • 0

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

Oct 31 2021 3:51 PM

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)