Question about CCR and WCF integration

Reserve this solution Using CCR with ASynchronous WCF

Why do you need this:

ThreadPool.QueueUserWorkItem (s => callback (this));

instead of calling callback (this)?

Would QueueUserWorkItem use another thread?

+3
source share
1 answer

A callback is a method that should be provided as an input parameter to BeginGetAccount. In the answer, he does not indicate a “callback” method, so there is no way to find out if he is using a new stream or not, and therefore it makes sense to include the “callback” method in a separate stream in “Full”.

, " " , "".

0

Source: https://habr.com/ru/post/1705144/


All Articles