C# Класс GSF.Threading.DedicatedSynchronizedOperation

Наследование: SynchronizedOperationBase
Показать файл Открыть проект

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

Метод Описание
DedicatedSynchronizedOperation ( System.Action action, Action exceptionAction, bool isBackground ) : System

Creates a new instance of the LongSynchronizedOperation class.

DedicatedSynchronizedOperation ( System.Action action, bool isBackground ) : System

Creates a new instance of the LongSynchronizedOperation class.

Защищенные методы

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

Executes the action on a separate thread.

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

Метод Описание
m_task_Running ( object sender, EventArgs e ) : void

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

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

Creates a new instance of the LongSynchronizedOperation class.
public DedicatedSynchronizedOperation ( System.Action action, Action exceptionAction, bool isBackground ) : System
action System.Action The action to be performed during this operation.
exceptionAction Action The action to be performed if an exception is thrown from the action.
isBackground bool Specifies if this operation will be a background thread.
Результат System

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

Creates a new instance of the LongSynchronizedOperation class.
public DedicatedSynchronizedOperation ( System.Action action, bool isBackground ) : System
action System.Action The action to be performed during this operation.
isBackground bool Specifies if this operation will be a background thread.
Результат System

ExecuteActionAsync() защищенный Метод

Executes the action on a separate thread.
protected ExecuteActionAsync ( ) : void
Результат void