C# 클래스 GSF.Threading.DedicatedSynchronizedOperation

상속: SynchronizedOperationBase
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf

공개 메소드들

메소드 설명
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