C# Класс RemoteViewing.Utility.SynchronizedCall

Marshals a single call from one thread to another.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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