public BeginInvoke ( SendOrPostCallback d, object state ) : void | ||
d | SendOrPostCallback | |
state | object | |
Résultat | void |
public override void Post(SendOrPostCallback d, object state) { m_dispatcher.BeginInvoke(d, state); }
// called in worker thread context void _OnNewConnection(IConnection connection) { trace.TraceInformation("New connection"); m_dispatcher.BeginInvoke(OnNewConnection, connection); }