C# Класс AccidentalFish.ApplicationSupport.Core.Threading.AsyncPump.SingleThreadSynchronizationContext

Provides a SynchronizationContext that's single-threaded.
Наследование: System.Threading.SynchronizationContext
Показать файл Открыть проект

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

Метод Описание
Complete ( ) : void

Notifies the context that no more work will arrive.

Post ( SendOrPostCallback d, object state ) : void

Dispatches an asynchronous message to the synchronization context.

RunOnCurrentThread ( ) : void

Runs an loop to process all queued work items.

Send ( SendOrPostCallback d, object state ) : void

Not supported.

Описание методов

Complete() публичный Метод

Notifies the context that no more work will arrive.
public Complete ( ) : void
Результат void

Post() публичный Метод

Dispatches an asynchronous message to the synchronization context.
public Post ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback The System.Threading.SendOrPostCallback delegate to call.
state object The object passed to the delegate.
Результат void

RunOnCurrentThread() публичный Метод

Runs an loop to process all queued work items.
public RunOnCurrentThread ( ) : void
Результат void

Send() публичный Метод

Not supported.
public Send ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback
state object
Результат void