C# Class GSF.Threading.DedicatedSynchronizedOperation

Inheritance: SynchronizedOperationBase
Afficher le fichier Open project: GridProtectionAlliance/gsf

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ExecuteActionAsync ( ) : void

Executes the action on a separate thread.

Private Methods

Méthode Description
m_task_Running ( object sender, EventArgs e ) : void

Method Details

DedicatedSynchronizedOperation() public méthode

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.
Résultat System

DedicatedSynchronizedOperation() public méthode

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.
Résultat System

ExecuteActionAsync() protected méthode

Executes the action on a separate thread.
protected ExecuteActionAsync ( ) : void
Résultat void