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
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 413
Благодарностей
5 900
Баллы
113

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