C# Class WebApplications.Utilities.Threading.SerializingSynchronizationContext

Inheritance: System.Threading.SynchronizationContext
ファイルを表示 Open project: webappsuk/CoreLibraries Class Usage Examples

Public Methods

Method Description
Post ( SendOrPostCallback callback, [ state ) : void

When overridden in a derived class, dispatches an asynchronous message to a synchronization context.

Send ( SendOrPostCallback callback, [ state ) : void

When overridden in a derived class, dispatches a synchronous message to a synchronization context.

Private Methods

Method Description
ProcessQueue ( ) : void

Processes the queue.

Method Details

Post() public method

When overridden in a derived class, dispatches an asynchronous message to a synchronization context.
public Post ( SendOrPostCallback callback, [ state ) : void
callback SendOrPostCallback The delegate to call.
state [ The object passed to the delegate.
return void

Send() public method

When overridden in a derived class, dispatches a synchronous message to a synchronization context.
public Send ( SendOrPostCallback callback, [ state ) : void
callback SendOrPostCallback The delegate to call.
state [ The object passed to the delegate.
return void