C# Class ExcelDna.IntelliSense.SingleThreadSynchronizationContext

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

Public Methods

Method 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 method

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

Post() public method

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.
return void

RunOnCurrentThread() public method

Runs a loop to process all queued work items.
public RunOnCurrentThread ( ) : void
return void

Send() public method

public Send ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback
state object
return void