C# Класс MBC.Core.Controllers.ThreadTimeoutAborter

Times a running thread and aborts it if it exceeds a timeout value
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MonBegin ( ) : void

Starts the timer

MonEnd ( ) : void

Ends the timer and prevents the Thread from aborting.

ThreadTimeoutAborter ( int time ) : System

Initialization

Приватные методы

Метод Описание
ThreadTimeout ( object stateObject ) : void

Stops the timer and aborts the thread.

Описание методов

MonBegin() публичный Метод

Starts the timer
public MonBegin ( ) : void
Результат void

MonEnd() публичный Метод

Ends the timer and prevents the Thread from aborting.
public MonEnd ( ) : void
Результат void

ThreadTimeoutAborter() публичный Метод

Initialization
public ThreadTimeoutAborter ( int time ) : System
time int The timeout value
Результат System