C# Class ExcelDna.IntelliSense.SingleThreadSynchronizationContext

Provides a SynchronizationContext that's single-threaded.
Inheritance: System.Threading.SynchronizationContext
Afficher le fichier Open project: Excel-DNA/IntelliSense Class Usage Examples

Méthodes publiques

Méthode Description
Complete ( ) : void

Notifies the context that no more work will arrive.

Post ( SendOrPostCallback d, object state ) : void

The processing thread.

Dispatches an asynchronous message to the synchronization context.

RunOnCurrentThread ( ) : void

Runs a loop to process all queued work items.

Send ( SendOrPostCallback d, object state ) : void

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

The processing thread. 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 a loop to process all queued work items.
public RunOnCurrentThread ( ) : void
Résultat void

Send() public méthode

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