C# 클래스 RemoteViewing.Utility.SynchronizedCall

Marshals a single call from one thread to another.
파일 보기 프로젝트 열기: qmfrederik/remoteviewing 1 사용 예제들

공개 메소드들

메소드 설명
Run ( ) : void

Runs the call in the current thread, and marshals the exception back if one occurs.

SynchronizedCall ( SendOrPostCallback callback, object state ) : System

Initializes a new instance of the SynchronizedCall class.

Wait ( ) : void

Waits for SynchronizedCall.Run to complete.

메소드 상세

Run() 공개 메소드

Runs the call in the current thread, and marshals the exception back if one occurs.
public Run ( ) : void
리턴 void

SynchronizedCall() 공개 메소드

Initializes a new instance of the SynchronizedCall class.
public SynchronizedCall ( SendOrPostCallback callback, object state ) : System
callback SendOrPostCallback The call to marshal.
state object The state to provide to the call. is fine if you don't need to include any state.
리턴 System

Wait() 공개 메소드

Waits for SynchronizedCall.Run to complete.
public Wait ( ) : void
리턴 void