C# Class GSF.Threading.DedicatedSynchronizedOperation

Inheritance: SynchronizedOperationBase
Datei anzeigen Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
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.

Protected Methods

Method Description
ExecuteActionAsync ( ) : void

Executes the action on a separate thread.

Private Methods

Method Description
m_task_Running ( object sender, EventArgs e ) : void

Method Details

DedicatedSynchronizedOperation() public method

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.
return System

DedicatedSynchronizedOperation() public method

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.
return System

ExecuteActionAsync() protected method

Executes the action on a separate thread.
protected ExecuteActionAsync ( ) : void
return void