C# Class RemoteViewing.Utility.SynchronizedCall

Marshals a single call from one thread to another.
Afficher le fichier Open project: qmfrederik/remoteviewing Class Usage Examples

Méthodes publiques

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

Method Details

Run() public méthode

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

SynchronizedCall() public méthode

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

Wait() public méthode

Waits for SynchronizedCall.Run to complete.
public Wait ( ) : void
Résultat void