Does UseSynchronizationContext=false mean I have to be thread safe?

426 views Asked by At

This is about a WCF duplex service with NetTcpBinding.

I just added the UseSynchronizationContext=false parameter to my ServiceBehavior attribute which stops things freezing up when calling Close() on the callback channel on the service side.

However does this mean I now have to be thread safe in my WPF window? Since I might get a callback operation while clicking a button at the same time on two different threads right?

0

There are 0 answers