C# Class Microsoft.Threading.AsyncPump.SingleThreadSynchronizationContext

Provides a SynchronizationContext that's single-threaded.
Inheritance: System.Threading.SynchronizationContext
Afficher le fichier Open project: Psychlist1972/Windows-10-PowerShell-MIDI

Méthodes publiques

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

Method Details

Complete() public méthode

Notifies the context that no more work will arrive.
public Complete ( ) : void
Résultat void

Post() public méthode

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

RunOnCurrentThread() public méthode

Runs an loop to process all queued work items.
public RunOnCurrentThread ( ) : void
Résultat void

Send() public méthode

Not supported.
public Send ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback
state object
Résultat void