title: Locking with ConcurrencyMode.Multiple and InstanceContextMode.PerCall
body: <p>Do I need to implement my own locking in a WCF service that uses <code>ConcurrencyMode.Multiple</code> and <code>InstanceContextMode.PerCall</code> or <code>InstanceContextMode.PerSession</code>? Since a new <code>ServiceContext</code> object is created at every call or new session I should think that I would not, but I'm far from sure.</p>
  
  <p>Example:</p>
  
  <pre><code>[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.PerSession,
       IncludeExceptionDetailInFaults = false, MaxItemsInObjectGraph = Int32.MaxValue)]
  public class ExampleService : IExample
  </code></pre>