Méthode | Description | |
---|---|---|
Post ( SendOrPostCallback d, object state ) : void |
Dispatches an asynchronous message to the synchronization context.
|
|
Send ( SendOrPostCallback d, object state ) : void |
Dispatches a synchronous message to the synchronization context.
|
Méthode | Description | |
---|---|---|
TaskSchedulerSynchronizationContext ( |
Initializes the context with the specified scheduler.
|
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 |
public Send ( 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 |