This is my service:
InstanceContextMode = InstanceContextMode.Single,
ConcurrencyMode = ConcurrencyMode.Multiple
I have one method that returns an ID by searching something at the service computer. This method can’t be act like ConcurrencyMode.Multiple. What do I do?
If I understand your question correctly, you want a service that uses
ConcurrencyMode = ConcurrencyMode.Multiplebut you also want a method that is single threaded.Just use locking in the service method