Stop Execution Of C# code

quietwatcher

Client
Регистрация
26.12.2016
Сообщения
3
Реакции
0
Баллы
1
I am scraping websites and formatting data with C# codes. Most of the time C# code executes within seconds and do the job but for few site it takes longer time like 2 to 5 minutes to execute.

Is there any way to stop execution on C# codes if time exceeds like 30 seconds and perform next operation.
Thanks
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)